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

New Templates no longer showing in Templates files and local edits do not work

How Do I?

fanderson's avatar
fanderson
883 posts
3 years ago
fanderson's avatar fanderson

I am building a new site using EE 6.06. I got everything set up with fields, channels, templates, partials, etc. and I was able to use my favorite IDE to edit the content and upload to the Template files on the server, but when I sat down to work today that connection no longer works. When I create new templates they do not show up in the Templates folder on the server side and when I make any edits to existing templates on my computer and try to upload them, the server does not recognize the changes. Template folder permissions is set to 777.

I checked in phpMyAdmin and new templates appear in the database but they do not show up in the Template files.

Fortunately I can edit in the EE control panel, but the convenience of editing in my IDE is lost.

Any clues what the solution to this dilemma might be? I have been building EE sites for more than ten years and have never seen anything like this.

       
ZealousWeb's avatar
ZealousWeb
16 posts
3 years ago
ZealousWeb's avatar ZealousWeb

You have to check the config.php file and verify the below configuration.

$config['save_tmpl_files'] = 'y';
       
fanderson's avatar
fanderson
883 posts
3 years ago
fanderson's avatar fanderson

Confirmed. I have that in place and it still does not work.

       
Tom Jaeger's avatar
Tom Jaeger
228 posts
3 years ago
Tom Jaeger's avatar Tom Jaeger

Off the top of my head, I’d double check all of your paths. Beyond that, I know you mentioned the permissions on the template folder, I’d also check the individual templates real quick. Or run a recursive permissions set, just to make sure.

       
fanderson's avatar
fanderson
883 posts
3 years ago
fanderson's avatar fanderson

Alas, this we user error. I had multiple instances of $config[‘save_tmpl_files’] = ‘y’; in the config file. All is well now. 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.