Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2009
    Posts
    73
    Plugin Contributions
    0

    Default template_default

    I notice that in the change logs of version 1.3.9 a,b,c,d,e,f,g it shows the changed files in /includes/templates/template_default/etc.

    Now do we rename the template_default folder to the current template we are using? Or should we just leave /template_default as is when updating the changelog files under this folder?

  2. #2
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: template_default

    I am almost positive that the changelog is referring to the files that are actually in the /includes/templates/template_default directory on your server. You should change the files in that actual directory, not the ones in your custom template.

  3. #3
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: template_default

    no, if you customized a file you should also compare it to the customized ones, since they overrule the ones in the template_default directory

  4. #4
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: template_default

    Quote Originally Posted by Design75 View Post
    no, if you customized a file you should also compare it to the customized ones, since they overrule the ones in the template_default directory
    I'm pretty sure the changelog was referring strictly to the files in that template_default directory. If those changes were meant to be applied to the active (and assumed to be custom) template, wouldn't you have to manually parse the files and adapt the code changes on your own?

  5. #5
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: template_default

    Yes you will have to compare the files and find out what to change.

  6. #6
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: template_default

    Oh I see, thanks for the insight. I don't remember doing this when I upgraded from 1.3.8a to 1.3.9a though. IIRC, I just copied the new template_default files to the same directory on the server without changing my custom template (unless directed by the changelog). Everything works fine, I just hope I didn't leave open any security holes by doing that.

  7. #7
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: template_default

    That is why I did a complete remake of my site when I upgraded from 38 to 39

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: template_default

    The fewer changed files in your template, the more likely it is that you won't actually have to compare and merge them.
    You need to compare the changelogs against the files in all of your custom template folders; only files that appear in both places need to be merged.

    Also, a few of the changed files are mostly housekeeping or code optimization, and will still work with the old version. I wouldn't rely on this, though, unless you know exactly what you are doing.

  9. #9
    Join Date
    Sep 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: template_default

    template_default does not have anything to do with the custom template.

    This is why it is called default, because the files there don't matter if you change your site template or not.

    This means that if the update asks you to change in there, you change in there.

    Besides, its a system update, why would it want to change your custom template anyway?
    Victor
    Web Solutions
    Solving problems, as usual!

  10. #10
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: template_default

    Quote Originally Posted by acedweb View Post
    template_default does not have anything to do with the custom template.

    This is why it is called default, because the files there don't matter if you change your site template or not.

    This means that if the update asks you to change in there, you change in there.

    Besides, its a system update, why would it want to change your custom template anyway?
    not true

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. template_default
    By stitchnkitty in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 7 Aug 2009, 02:53 PM
  2. Confused about template_default
    By Alex123 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Jun 2008, 01:34 PM
  3. Need template_default file
    By coucho in forum General Questions
    Replies: 7
    Last Post: 10 Jan 2008, 09:43 PM
  4. Converting to Template_Default
    By ZZZZZeeeennn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 May 2006, 08:04 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR