XF 2.2 Template Dump

Taylor J

Well-known member
Is there a way to dump the default XF templates out into the file directory as to search and look through them using an IDE of choice rather than having to view them through the browser in the admin cp?
 
You can set $config['development']['skipAddOns'] = [] in your configuration file and then export them to the src/addons/XF/_output/ directory (php cmd.php xf-dev:export -a XF).
 
Last edited:
You can set $config['development']['skipAddons'] = [] in your configuration file and then export them to the src/addons/XF/_output/ directory (php cmd.php xf-dev:export -a XF).
After setting that option in the config and running the command it returns a 0 for everything including the Templates.


Code:
Exporting activity summary definitions...
    0 [>---------------------------]
Activity summary definitions exported. (0.00s)
Exporting Admin navigation...
    0 [>---------------------------]
Admin navigation exported. (0.00s)
Exporting Admin permissions...
    0 [>---------------------------]
Admin permissions exported. (0.00s)
Exporting advertising positions...
    0 [>---------------------------]
Advertising positions exported. (0.00s)
Exporting API scopes...
    0 [>---------------------------]
API scopes exported. (0.00s)
Exporting bb codes...
    0 [>---------------------------]
Bb codes exported. (0.00s)
Exporting bb code media sites...
    0 [>---------------------------]
Bb code media sites exported. (0.01s)
Exporting class extensions...
    0 [>---------------------------]
Class extensions exported. (0.00s)
Exporting code event listeners...
    0 [>---------------------------]
Code event listeners exported. (0.00s)
Exporting code events...
    0 [>---------------------------]
Code events exported. (0.00s)
Exporting content types...
    0 [>---------------------------]
Content types exported. (0.01s)
Exporting cron entries...
    0 [>---------------------------]
Cron entries exported. (0.00s)
Exporting help pages...
    0 [>---------------------------]
Help pages exported. (0.00s)
Exporting member stats...
    0 [>---------------------------]
Member stats exported. (0.00s)
Exporting Navigation...
    0 [>---------------------------]
Navigation exported. (0.00s)
Exporting options...
    0 [>---------------------------]
Options exported. (0.00s)
Exporting option groups...
    0 [>---------------------------]
Option groups exported. (0.00s)
Exporting Permissions...
    0 [>---------------------------]
Permissions exported. (0.00s)
Exporting permission interface groups...
    0 [>---------------------------]
Permission interface groups exported. (0.00s)
Exporting phrases...
    0 [>---------------------------]
Phrases exported. (0.00s)
Exporting Routes...
    0 [>---------------------------]
Routes exported. (0.00s)
Exporting style properties...
    0 [>---------------------------]
Style properties exported. (0.00s)
Exporting style property groups...
    0 [>---------------------------]
Style property groups exported. (0.00s)
Exporting template modifications...
    0 [>---------------------------]
Template modifications exported. (0.00s)
Exporting templates...
    0 [>---------------------------]
Templates exported. (0.00s)
Exporting widget definitions...
    0 [>---------------------------]
Widget definitions exported. (0.00s)
Exporting widget positions...
    0 [>---------------------------]
Widget positions exported. (0.01s)
 
Back
Top Bottom