Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jul 2005
    Posts
    537
    Plugin Contributions
    0

    Default 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.

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default 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.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Confused about template_default

    Thank you both very much for your explanations/suggestions.

    Alex

  5. #5
    Join Date
    May 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Confused about template_default

    Quote Originally Posted by chuck View Post
    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

 

 

Similar Threads

  1. confused about installing on my PC
    By alma1 in forum Installing on a Windows Server
    Replies: 2
    Last Post: 25 Mar 2008, 06:39 AM
  2. Confused about attributes...
    By sdamos in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Dec 2006, 06:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg