Page 1 of 10 123 ... LastLast
Results 1 to 10 of 95
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Clone a Template [Support Thread]

    I'll be submitting this plugin to the Plugins area for review later today or in the morning (needed the support thread for the readme).

    It's an admin tool that allows you to copy all template-override files (and Layout Boxes Controller configuration) for an existing template on your store to another template name. I think it will be especially useful to create "clones" of the Responsive Classic template that's built into Zen Cart 1.5.5.

    The plugin is multi-language-aware, so if your store is multi-lingual and the "source" template includes multi-lingual files, they'll all be copied to the newly-minted "target" template.

    I will post back here once I've got a download link from the Plugins.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Clone a Template [Support Thread]

    Here's the plugin's download link (available once reviewed): https://www.zen-cart.com/downloads.php?do=file&id=2087

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Clone a Template [Support Thread]

    The plugin is now available for download from the Plugins.

  4. #4
    Join Date
    Jan 2012
    Posts
    28
    Plugin Contributions
    0

    Default Re: Clone a Template [Support Thread]

    Hi. Quick question I hope. I installed this and used it to clone a template in v1.5.5a and now have two templates with the same name in the template selection menu. Where can I change the name of one of those duplicates. The cloner tool did create the second template with the name I picked.

    Thanks

  5. #5
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Clone a Template [Support Thread]

    Haven't tested the pugin, but normally ,that would be on you template_info.php file.
    But probably this plugin will do that.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Clone a Template [Support Thread]

    @jsteggy and @mesnitu, that's one of the things on my list of to-do's for the plugin (clone its name, too). As mesnitu indicated, you can physically edit the cloned template's template_info.php file so that it is displayed differently from its parent.

  7. #7
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Clone a Template [Support Thread]

    or create a new template_info with a user defined name...

    once I've play around with a clone template, but it was with a bash script. So I needed the template name ...and description , and the admin folder name.

    But this will clone the responsive zc155 template, so with the bootstrap, etc.. right ?
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Clone a Template [Support Thread]

    Yes, this plugin came about when I was cloning the responsive_classic template that is built into Zen Cart 1.5.5 and later.

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Clone a Template [Support Thread]

    I've just submitted v1.1.0 to the plugins' area for review:

    CHANGE: Update the cloned template's template_info file to include user-specified description.

    The plugin's admin page now requires a template description; that text is used as the cloned template's "description" within its template_info.php file, allowing the template to be distinguished from its base in the Tools->Template Selection tool.

  10. #10
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: Clone a Template [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've just submitted v1.1.0 to the plugins' area for review:

    CHANGE: Update the cloned template's template_info file to include user-specified description.

    The plugin's admin page now requires a template description; that text is used as the cloned template's "description" within its template_info.php file, allowing the template to be distinguished from its base in the Tools->Template Selection tool.
    Thanks Lat9,

    So far so good, works as intended. I'll update if I find any bugs :)

 

 
Page 1 of 10 123 ... LastLast

Similar Threads

  1. Lavender Template Support Thread
    By kobra in forum Addon Templates
    Replies: 262
    Last Post: 13 May 2015, 01:00 AM
  2. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  3. Rustic Template Support Thread
    By clydejones in forum Addon Templates
    Replies: 320
    Last Post: 20 May 2013, 10:47 AM
  4. DigitalShop Template Support Thread
    By blingthemes in forum Addon Templates
    Replies: 19
    Last Post: 9 Mar 2011, 07:49 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 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