Results 1 to 7 of 7

Thread: how to upgrade to V4 with custom template ?

  1. #1
    Join Date
    Aug 2008
    Posts
    56

    Default how to upgrade to V4 with custom template ?

    Hi

    I have just upgrade to version 4 but I don't understand well how to do about template. In fact I use a customized "portal" template where I have make a lot modification...Now I see new portal template are totally different and I see also some change are made in some template file as describe on wiki upgrade step here

    So how I must make my upgrade ? I would like continue to use my old customized portal template.... I start to make some confusion with my template, new portal template and modified template file.... I imagine the list of modified template files are not only modified for graphical reason but also because it contain new code ??

    thanks

    Mirko

  2. #2
    Join Date
    Feb 2008
    Posts
    23

    Default

    First... I'd suggest not making changes to the distributed templates.
    If you want to base a template off of portal... copy the portal directory and rename it to your own domain or something.

    Then set the template under Setup->General Settings->Template

    That way, when things upgrade... you won't overwrite your templates. Granted, they might not work anymore...

  3. #3
    Join Date
    Aug 2008
    Posts
    56

    Default

    Thanks for suggestions but it is what I have do...My custome template use the base of portal template of version 3.8 and I hace copy, modify and renamed it...

    But now with new version 4 I don't understand if I can continue to use it....

    On upgrade page it is write the follow files are been updated:

    The following template files have changed from the previous release V3.8

    * bulkdomainchecker.tpl
    * bulkdomaintransfer.tpl
    * clientareaaddcontact.tpl
    * clientareachangepw.tpl
    * clientareachangesq.tpl
    * clientareacontacts.tpl
    * clientareacreditcard.tpl
    * clientareadetails.tpl
    * clientareadomaindetails.tpl
    * clientareadomainrenew.tpl
    * clientareadomains.tpl
    * clientareahome.tpl
    * clientareainvoices.tpl
    * clientareaproducts.tpl
    * clientareaproductdetails.tpl
    * clientregister.tpl
    * domainchecker.tpl
    * downloads.tpl
    * knowledgebase.tpl
    * passwordreminder.tpl
    * supportticketsubmit-steptwo.tpl
    * upgrade.tpl
    * upgradesummary.tpl
    * viewinvoice.tpl
    * viewticket.tpl

    * All Order Form Templates

    ...so that mean if any of above files are been modified by me in my costomized template I must analyze that files and customize again according to my need ?

    Am totally confused.....

  4. #4
    Join Date
    Feb 2008
    Posts
    23

    Default

    You might... you might not...
    It should be pretty simple to tell if your customized templates still work or not.

  5. #5
    Join Date
    Jun 2008
    Location
    UK
    Posts
    167

    Default

    Just doing this myself...

    Try using http://winmerge.org/ to check the differences between the changed template files above!

    Hope this helps
    mediademon
    www.mediademon.com
    Web Design / Web Hosting

  6. #6
    Join Date
    Nov 2007
    Location
    Melbourne Australia
    Posts
    670

    Default

    We do similar, but as our templates have contained continuous customisations since 3.2, we don't want to break the extra functionaility that we've implemented.

    I simply do a comparison between the new version and the previous version and identify the "new" or changed code

    I also duplicate our template and add the code the duplicate, so that whilst doing the template conversions, the customer sees a working platform, while I can see a live model of the new templates

    Its a slower process at around 2 hours , but I find it easier than trying to add our code to the new templates. (we've taken out most of the validation errors versions ago)

    You can also use notepad++, which has a useful 'compare' function between 2 files.
    OZsmeBusiness
    Getting your Australian small business online and connected!

  7. #7
    Join Date
    Sep 2008
    Posts
    44

    Default

    I've found "Kdiff" really helpful when comparing scripts for changes in the past.

    http://kdiff3.sourceforge.net/

Similar Threads

  1. Configurable items, sliders, and the upgrade/downgrade template
    By brooks in forum Customisation & Integration Questions
    Replies: 3
    Last Post: 04-05-12, 09:51 AM
  2. Template not working after upgrade
    By jennic in forum Customisation & Integration Questions
    Replies: 5
    Last Post: 04-21-11, 03:21 PM
  3. Upgrade from 4.3 to 4.4 Template Modified
    By skoobi in forum Customisation & Integration Questions
    Replies: 1
    Last Post: 12-17-10, 09:41 AM
  4. What files to upgrade in custom template
    By Miki in forum Customisation & Integration Questions
    Replies: 1
    Last Post: 10-14-10, 02:28 PM