Have you gotten sick of the workflow “create template -> save as file -> download from FTP”? Do you wish you can just create a file, upload to FTP and have Expression Engine automatically recognize is it as a new template?
This is what this new extension does. After you install it, you can start your template’s lifecycle as a physical file, instead of as an entry in a database! Guaranteed to shave of 34 seconds, of your precious time, or….I don’t know…just try it out!
Hiya,
I’m probably having an off day but I just downloaded this as it seems very interesting. I already had a site setup to save templates to a folder so I tried creating a new file in one of the already created folders but should I now be seeing that template showing up in my control panel as I’m not getting it showing.
Is there something I should do perhaps? (I do have the extension enabled by the way 😉 )
Best wishes,
Mark
Have you tried accessing it from your web browser? The main point of this is that you only have to create a template, and view it! In fact there should be little reason why you should ever need to view it from the control panel for purposes of editing it…especially since the default text area is not very conducive to editing templates (you can’t do basic things like hitting tab!). Although to be honest there is an extension out there which alleviates some of these pains, called cm_template_editor, but nothing beats dreamweaver, textmate, notepad++, vim or whatever the heck you like to use for editing templates.
Thanks for trying it out though, and let me know if this helps!
Have you tried accessing it from your web browser?
Yep I was right, I was having an off day 😊
The main point of this is that you only have to create a template, and view it! In fact there should be little reason why you should ever need to view it from the control panel for purposes of editing it…especially since the default text area is not very conducive to editing templates (you can’t do basic things like hitting tab!). Although to be honest there is an extension out there which alleviates some of these pains, called cm_template_editor, but nothing beats dreamweaver, textmate, notepad++, vim or whatever the heck you like to use for editing templates.
There is also an extension that allows just for tabs too but this does look really quite useful, well done and thanks again.
Best wishes,
Mark
What happens in the situation when you delete a template (which was saved as a file after you created the template in CP) via CP then it still shows the file on the server, but does not display when you try to browse to the page, and it does not show up in the CP, does it automatically take that file and create the template within the cp?
What happens in the situation when you delete a template (which was saved as a file after you created the template in CP) via CP then it still shows the file on the server, but does not display when you try to browse to the page, and it does not show up in the CP, does it automatically take that file and create the template within the cp?
With this extension running, as long as the physical file exists on the file system, it will show up. This is because normally a template has to exist in the database for it to display. This extension merely inserts it into the database for you if the file exists.
My concern is, you know how you initially create the template in the cp template module, then save as a file?
It then shows up on the server where you can edit it in your editor of choice, which is great.
But when you delete that template via the cp within the templates module, it will not show up there anymore, but the hard file still displays on the server.
So my question is, once I delete the template from the cp, does it redisplay since the hard file exists on the server?
My concern is, you know how you initially create the template in the cp template module, then save as a file? It then shows up on the server where you can edit it in your editor of choice, which is great. But when you delete that template via the cp within the templates module, it will not show up there anymore, but the hard file still displays on the server. So my question is, once I delete the template from the cp, does it redisplay since the hard file exists on the server?
All you have to do then is delete the file! I’m assuming if you have the ability to put it up there, you have the ability to take it down.
I do, but you said if the file exists on the server, it will turn it into a template within the cp templates module. So will it recreate that template in the cp after I deleted it? Or does it only create files into the cp template that were recently created on the server?
If you only deleted it from the control panel, it will be recreated the next time you go to that url.
If you deleted it both from the cp and the filesystem, it will not be resurrected.
I got it to work, but I dont’ see how this saves any time. Now I create the php file save it and then I have to go to my broswer and type in domain.com/index.php/template_group/template_name before it gets registered in the database… seems to me like it takes just about the same amount of time.
I got it to work, but I dont’ see how this saves any time. Now I create the php file save it and then I have to go to my broswer and type in domain.com/index.php/template_group/template_name before it gets registered in the database… seems to me like it takes just about the same amount of time.
The point is that you can get working on your template much quicker. The way I work, I rarely ever touch the templates in the CP. Certainly not for editing them. I work on my templates exclusively as files, so it’s a waste of time for me to go to the CP (also assumes i’m logged in…sometimes I don’t want to be logged in!), select the template group, make a template, put something in there and make sure “save as file” is selected, download from FTP, edit in notepad++.
That’s 6 steps to start working on my template.
As opposed to:
Create file locally. Upload. Browse. Get some more sleep….
Didn’t work for my unfortunately. I created some hidden templates and they didn’t show up.
This should work with hidden templates, but obviously they’re not going to show up since they’re hidden. But it should still create them (ie., they should still show up in the CP). Are they not showing up at all?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.