Sniper
Active member
I was wondering how do you guys manage templates, its a pain having to save the template/s every time I make changes, as it used to be with vb...though Andreas addon helped!
I can see XenForo has something built-in to help with the issue unless I've missed something?
If you set this config
and under the root directory have the following
Now every time you edit a master phrase/template or style property group it writes it to file and from looking at the code I can see it can also be imported back to database but not sure how, I think maybe its been removed because its beta.
Would love to have this available during add-on development.
I can see XenForo has something built-in to help with the issue unless I've missed something?
If you set this config
PHP:
$config['development']['directory'] = 'development';
$config['development']['default_addon'] = 'XenForo';
and under the root directory have the following
Code:
development
\file_output
\templates
\phrases
\style_properties
Now every time you edit a master phrase/template or style property group it writes it to file and from looking at the code I can see it can also be imported back to database but not sure how, I think maybe its been removed because its beta.
Would love to have this available during add-on development.