We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Expression Engine not using text files even though they exist

Development and Programming

NDC's avatar
NDC
22 posts
13 years ago
NDC's avatar NDC

I followed this walkthrough to make it so that EE would use text files instead of the database: http://ellislab.com/expressionengine/user-guide/templates/templates_as_files.html

I have clicked all template to save as text file then downloaded the generated templates and edited them. I uploaded them with changes and no changes were shown. I clicked on Design -> Templates -> Synchronize and clicked the ‘Select All’ checkbox and click sync. Still no edits were shown. I then went to Design -> Templates -> Edit -> includes -> header and it still says that it is pulling it from the database.

Any ideas?

       
Bhashkar Yadav's avatar
Bhashkar Yadav
727 posts
13 years ago
Bhashkar Yadav's avatar Bhashkar Yadav

Hi NDC,

In the control panel , go to Design -> Templates -> Global Template Preferences.

Check if “Allow Templates to be Saved as Files?” having “Yes” and Basepath to “Template File Directory” having correct path.

Also, while updating template check the “Save Template as File” on template edit area.

Hope this would help you.

Best Regards,

       
NDC's avatar
NDC
22 posts
13 years ago
NDC's avatar NDC

Unfortunately not. All of those settings have already been set and EE pulls the templates from the database instead of the files. Any ideas on troubleshooting this? Thanks for the help.

       
Bhashkar Yadav's avatar
Bhashkar Yadav
727 posts
13 years ago
Bhashkar Yadav's avatar Bhashkar Yadav

Once you have synced all the templates, the edit template will say “From Database” as the changes into text template file will be saved into database.

Can you check if you can see the changes into text template file at template edit of Control Panel. Also check the cache settings. I always do the updates from template files and never faced the issue like this. EE manage these stuff very well.

Thanks,

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.