18th
Aug 2009
Posted by Marty Romero
Categorie(s): Design Tutorials
To make it easier to remember and get my head around the concept, the first thing I do is change the word “weblog” to “section.” In Admin>System Preferances>General Configurations Look for the “Section Designation Word” and replace “weblog” with the word “section.” This will update every instance of the word “weblog” in the control panel to “section” making it easy to remember the relationship that a “weblog” has to your site.
You will still need to use the word “weblog” in ExpressionEngine tags as you build your site, but this “weblog” concept is unique to ExpressionEngine and this small change will go a long way in helping you get your brain around it.
The second thing you should do is make ExpressionEngine’s templates available as .php files. In my opinion ExpressionEngine’s flexibility lies in its template structure. In ExpressionEngine you build your websites by creating “Template Groups” that house “Templates.” ExpressionEngine provides you with a pretty descent text editor to edit your Template, but you can also make ExpressionEngine save your template files as .php files in order to work on them in the editor of your choice.
You can do this in the “Templates” tab. Click on “Global Template Preferences” and change the “Allow Templates to be Saved as Files?” option to “yes.” You also need to update the path where the templates are stored. This path will typically be populated for you, but you can change it to what ever you want. If you do change the directory path, make sure that the directory exists (if not you can create it) and that you have changed the permissions to 755. That’s it! Now you can edit your templates in any text editor.
ExpressionEngine is a powerful CMS tool. I hope you enjoy it as much as me.
7 comments
On January 13th, 2010 at 9:09 AM
David Couillard thought that:
Hey Manuel!
Glad you like EE… I’‘ve been using it for almost 2 years now and I just swear by this system. My clients like it a lot also.
Now we only have one month to wait for version 2.0!
Also if you would like to learn more good tricks, I suggest you check Ryan Ireland’‘s Screencasts… I did learn a LOT watching them…
http://www.eescreencasts.com/
Nice blog design btw…
On January 24th, 2010 at 5:05 PM
Marty Romero thought that:
Hey David!
I almost lost your comment there. I actually downloaded all of the screencasts by Ryan Ireland. That is how I actually learned to build my first EE website: http://travelscope.net.
I’ve since designed and developed 4 (including this one) and I keep going back to eescreencasts. They’re a great resource!
On June 2nd, 2010 at 12:19 AM
Resume Writing Services thought that:
“I was very pleased to find this site.I wanted to thank you for this great read!!
I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.”
On July 16th, 2010 at 11:28 AM
Adam thought that:
Thanks for the new EE install tips! I follow some of these myself.
When changing the “Section Designation Word”, is it possible to use, for example, “section” instead of “weblog” when writing the EE code? I saw this working in an EE 1.6.8 website.
Example Code:
{exp:section:entries section=“example”} content {/exp:section:entries}
Thanks so much!
On July 19th, 2010 at 3:25 PM
Marty Romero thought that:
Hey Adam,
I don’t think that this can be done without getting under the hood of ExpressionEngine and modifying the core. I might be wrong about this, but I’ll look into and let you know what I find out.
I’m curious to know though, what scenerio you would want to use the word “section” instead of “weblog”. I’m guessing that you or someone in your team are the only ones that are going to be looking at the template code.
On July 19th, 2010 at 5:08 PM
David Couillard thought that:
Hi Adam,
No it’s not possible to change the tags in EE 1.6…
Even if you change the Weblog word to Section you’ll still have to use the tag {exp:weblog:entries}
Maybe like Marty says if you hack the core of EE, but I doubt it’s really necessary to risk mess up with the whole site just to change the tags…
On July 20th, 2010 at 7:28 AM
Adam thought that:
Thanks, Marty and David. This other person probably did “hack” their EE install to make this work. You’re right, I don’t want to mess with this, taking the risk of messing up my website. I can live with “weblog”.
Thanks for your help!