John Donovan - 05 July 2009 02:09 PM
Hoopsgal,
You will need to create all your templates in the Template area of EE. Uploading just the templates into the directory will not make them appear in the Control Panel.
If you have taken this direction I would say back up what you have locally in terms of templates. The Recreate them in ExpressionEngine and copy and paste the content into the newly created templates in the Control Panel.
Does that make sense?
I just want to make sure I understand. Are you saying that if you make changes to a template that has been saved as a file iin the file, as opposed to in the template, then the changes aren’t going to show up in the template? (I presume they show up on the site, right, if the info is in the files?)
Wouldn’t this be extremely dangerous? I mean, suppose you create a template from the Control Panel, then save template as a file.
(1) You make your first change to that template in the control Panel. I assume once you hit “update” or “update and finished” that change will also be saved to the file, right?
(2) Assuming yes to item 1, then you find you have a more extensive change, and decide to make that one in the file, as opposed to in the Control Panel, so that you can use a text editor. You save the file and hit “upload” in your FTP. If I’m understanding you correctly, that change will{/i] be saved to the file (and presumably would therefore show up on the site, but won’t show up in the template in the Control Panel, despite having been uploaded. Did I understand that correctly.
(3) Now you see that you misspelled a name in one of your titles, so you go back into the Control Panel, and quickly respell “Donovan.” You hit “update and finished.” If I get what you’re saying, you will have no “disappeared” everything you did in Step 2, because the code that you put directly into the file never showed up in the template, and you have now overwritten the file you just made in Step 2. Did I understand that right?
If so, then it seems to me that you would never want to save your templates as files, OR, if you did, that there should be a HUGE WARNING message next to the “save file as template” check box that says something like: “Warning. If you saved this template as a file, and then choose to edit the file outside the control panel, you should never again attempt to edit the template in the control panel. If you do, you will lose all your work.”