Forums / Templates, Stylesheets, Page Layout / Confused about template_default

Confused about template_default

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
02 May 2008, 06:58
#1
alex123 avatar

alex123

New Zenner

Join Date:
Jul 2006
Posts:
43
Plugin Contributions:
0

Confused about template_default

Hi everyone,

Even though I am working on the default template (http://74.54.252.194/~aktis) I am still a bit confused as to why we have two directories "classic" and "template_default" and wthat is the deffernce between them ?

Could someone please clarify this ?

Thank you
03 May 2008, 08:33
#2
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: Confused about template_default

There is much documentation about templating available in the "tutorials/FAQs" pages -- there's a link in the top right corner for that.

"template_default" is the master set of template files. Don't touch these (except when doing an upgrade).

"classic" is a sample custom template. You can create many custom templates. "classic" is just an example. Anything that's not in your custom template but exists in template_default will be automatically loaded from template_default for you. Thus, when you're building a custom template, all you need in your custom template folder is the files/folders that you've customized/changed/added.
If you need to customize the "specials" page for example, you would copy the template_default version of the specials template into your custom template's folders (using same folder structure as template_default), and make your changes to your custom copy. Same with images. and Stylesheets. and Buttons. etc.
It's pretty slick once you get the hang of it.
04 May 2008, 03:27
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Posts:
6,800
Plugin Contributions:
0

Re: Confused about template_default

Please save yourself time and follow the tutorials on creating a custom template. If you change the files in the template_default or classic folders, your changes will be overwritten with the next upgrade/update.
04 May 2008, 14:11
#4
alex123 avatar

alex123

New Zenner

Join Date:
Jul 2006
Posts:
43
Plugin Contributions:
0

Re: Confused about template_default

Thank you both very much for your explanations/suggestions.

Alex
20 Jun 2008, 12:34
#5
mtimber avatar

mtimber

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Re: Confused about template_default

chuck:

There is much documentation about templating available in the "tutorials/FAQs" pages -- there's a link in the top right corner for that.

"template_default" is the master set of template files. Don't touch these (except when doing an upgrade).

"classic" is a sample custom template. You can create many custom templates. "classic" is just an example. Anything that's not in your custom template but exists in template_default will be automatically loaded from template_default for you. Thus, when you're building a custom template, all you need in your custom template folder is the files/folders that you've customized/changed/added.
If you need to customize the "specials" page for example, you would copy the template_default version of the specials template into your custom template's folders (using same folder structure as template_default), and make your changes to your custom copy. Same with images. and Stylesheets. and Buttons. etc.
It's pretty slick once you get the hang of it.



Thank you :-)

Very clear description of the difference between the template_default directory and its use and the classic directory.

I think I get it now :-)

This is a very confusing issue for newbies it would seem :-)

Mark