bjornbjorn / snippetssync.ee2_addon

Save snippets as files during development
http://wedoaddons.com
21 stars 8 forks source link

Using while save templates as files is set to `no` #13

Closed robsonsobral closed 10 years ago

robsonsobral commented 10 years ago

I know this looks like strange. I just had this idea some hours ago.

I'm starting to just save the templates as files for development and realized that we don't need to check if save_tmpl_files is set to yes to load the files, but just if tmpl_file_basepath exists.

I'm starting to save my templates as files just on development environment. It would be good if I could manually update my snippets after a deploy without to change another configuration.

By the way, the Synchronize templates form on EECMS CP is available even if save_tmpl_files is set to no. It just don't do anything. I already contacted EllisLab about it.

Thanks for your attention, Bjorn!

bjornbjorn commented 10 years ago

Thanks Robson, that's a good point. I have now fixed this in 1.1.4 :-)

robsonsobral commented 10 years ago

Wow! I'll offer myself to code it! Thanks, Bjorn! Thank you!

bjornbjorn commented 10 years ago

No problem, thanks again for the report :+1: