I'm working on EE2 theme and I can't find solution how to force EE use templates directly from the file system.
Generally I want to disable database templates while I'm working on theme, to get development quickly.
Is it possible? Thanks
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.Sign up to join this community
That would be the save templates as files feature. Once you've configured a template path you can save individual templates as files or you can sync all of your templates to file via the Templates > Synchronize Templates page.
Once you've done that any changes you make to the template files will take effect immediately, without you needing to manually sync them to the DB.
In a nutshell though it's this:
$config['save_tmpl_files'] = "y"; $config['tmpl_file_basepath'] = "/path/to/your/templates/";