Page 1 of 2 12 LastLast
Results 1 to 10 of 99

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,914
    Plugin Contributions
    89

    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,914
    Plugin Contributions
    89

    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,914
    Plugin Contributions
    89

    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,914
    Plugin Contributions
    89

    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
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Clone a Template [Support Thread]

    Seems this is having issues in 1.5.6c

    Code:
    #1 file_put_contents() called at [/home/##########/public_html/156c_bootstrap/##########/clone_template.php:213]
    --> PHP Warning: file_put_contents(/home/##########/public_html/156c_bootstrap/includes/templates/zca_bootstrap_theme_1/template_info.php): failed to open stream: No such file or directory in /home/##########/public_html/156c_bootstrap/##########/clone_template.php on line 213.
    Seems its not copying template_info.php

    This is a vanilla install zen cart 1.5.6c and ZCA Bootstrap Template only.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,914
    Plugin Contributions
    89

    Default Re: Clone a Template [Support Thread]

    Quote Originally Posted by rbarbour View Post
    Seems this is having issues in 1.5.6c

    Code:
    #1 file_put_contents() called at [/home/##########/public_html/156c_bootstrap/##########/clone_template.php:213]
    --> PHP Warning: file_put_contents(/home/##########/public_html/156c_bootstrap/includes/templates/zca_bootstrap_theme_1/template_info.php): failed to open stream: No such file or directory in /home/##########/public_html/156c_bootstrap/##########/clone_template.php on line 213.
    Seems its not copying template_info.php

    This is a vanilla install zen cart 1.5.6c and ZCA Bootstrap Template only.
    That's weird; were all the other template files copied?

  9. #9
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Clone a Template [Support Thread]

    Quote Originally Posted by lat9 View Post
    That's weird; were all the other template files copied?
    No Cindy,

    Nothing was actually copied.

    I just did this on the responsive_classic and all worked as intended.

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,914
    Plugin Contributions
    89

    Default Re: Clone a Template [Support Thread]

    Was there a /logs/clone_template*.log file generated?

 

 
Page 1 of 2 12 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