Totally Zenned
- Join Date:
- Aug 2005
- Location:
- Trujillo Alto, Puerto Rico
- Posts:
- 1,444
- Plugin Contributions:
- 3
Clone a Template [Support Thread]
Should this module work with 1.5.8?
IDEASLady
IDEAS Creative Studio
Your image... our business!
Views: 46,080
Totally Zenned
Should this module work with 1.5.8?
IDEASLady
IDEAS Creative Studio
Your image... our business!
Totally Zenned
Works just fine.
Where some think is doesn't is in cloning bootstrap. They usually are trying to clone it before installing it.
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com
Totally Zenned
Just to confirm.
I unzipped archive and found contents.
Now what do i do?
Jut drop files into same-name folders of zencart?
I am aware I have to rename admin to my-admin.
Please confirm.
Thank you.
[argentiniansupermarket.com
Administrator
ckosloff:
Just to confirm.
I unzipped archive and found contents.
Now what do i do?
Jut drop files into same-name folders of zencart?
I am aware I have to rename admin to my-admin.
Please confirm.
Thank you.
The readme's in the zip-file's /includes/docs/clone_template/readme.html
Totally Zenned
Followed installation instructions to the letter and still I cannot find button to clone template, I didn't get a blank page.
Please help,
Ck
[argentiniansupermarket.com
Totally Zenned
Yes, I followed instructions in read me, didn't see the installation tab, thanks for answer.
Now please explain where is the button to clone template, it would be a time saver, at present I have to restore from backup.
CK
[argentiniansupermarket.com
Totally Zenned
In the admin under tools
BTW, that's on the main page of the readme.html
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com
Totally Zenned
I cloned a template (responsive_classic), but I could not find the cloned template in template selector, does new template have an info file?
Thank you.
I installed bootstrap and got a blank page, so I am going to restore test site to an earlier working state, it will not have bootstrap or clone-a-template, but I need a template that won't be overriden by upgrades to ZC, Bootstrap seems the best choice and recommended by the docs, so i would like to have it and clone it.
Please help.
Thank you,
CK
Totally FUBAR
[argentiniansupermarket.com
Administrator
To clone a template (like bootstrap), you need to first select it as a template so that the template's "Layout Controller" selections will be initialized.
I don't understand why you're having such trouble cloning 'responsive_classic'; there should be a clone*.log file in the site's /logs directory indicating what files were copied in the cloning process.
Totally Zenned
This is a test to see if this post disappears as the previews ones.
[argentiniansupermarket.com
Administrator
v2.0.0 of "Clone a Template" is now available in the Zen Cart plugins: https://www.zen-cart.com/downloads.php?do=file&id=2087
This release (supporting zc158 and later) contains changes associated with the following GitHub issues:
#6: Turn this into a Zen Cart encapsulated plugin.
#8: Declare all class properties (PHP 8.2+ requirement).
#9: Use admin_html_head.php for css/js loading and zc158 language-file naming conventions.
#13: Retain source template's additional 'soft' configuration settings when cloning.
Totally Zenned
I have a clean copy of 1.5.8a on local server with XAMPP/PHP8.2.
I have installed the Bootstrap template but it will not show up on Clone a Template at all. I have followed all the steps listed and am a bit concerned I have done something wrong.
Administrator
Yes, the documentation's not very clear on this. For a template to show, it must be (a) installed and (b) have its sidebox configuration previously set with Tools :: Layout Boxes Controller.
Totally Zenned
Thank you! I was holding off making any major changes as I wanted to clone the original first. I saw references to this and thought I had done this already. Right after I read this, I noticed that neither side boxes work. Cheers!
Chris
Administrator
g2ktcf:
Thank you! I was holding off making any major changes as I wanted to clone the original first. I saw references to this and thought I had done this already. Right after I read this, I noticed that neither side boxes work. Cheers!
Chris
:thumbsup:
Totally Zenned
I must have messed up or something is going on.
I am slowly trying to update my site to ZC 2.0.1
Fresh install of ZC 2.0.1 with lastest bootstrap template.
After I clone the bootstrap template , named bootstrap copy, all my sideboxes get duplicated . I get 2 set of sideboxes in the layout controller as well.
If i switch back to Bootstrap template, the duplicated sideboxes are gone.
What am i doing wrong?
Thank you
Administrator
bootstrap copy, with that space? I thought I'd disallowed any characters other than alphabetic, numeric and underscores.
Totally Zenned
woops. The actual name is bootstrap_copy
Administrator
nicksab:
woops. The actual name is bootstrap_copy
I'm guessing that that could be the Layout Controller itself, getting confused by the difference between bootstrap and bootstrap*_copy***. FWIW, I normally name my clones of the Bootstrap template something like xxx_bs4 and I've never had such an issue.
Zen Follower
just installed this module, i see it in the plugins page but when i click on install i get a http 500 and checking logs i see the following error....
--> PHP Fatal error: Uncaught Error: Undefined constant "Zencart\ViewBuilders\TEXT_NEW_PLUGIN_DOWNLOAD_AVAILABLE" in /includes/classes/ViewBuilders/PluginManagerController.php:42
i assume i installed it incorrectly? i uploaded the contents of zc_plugins to zc_plugins and wondering if i misunderstood the instructions perhaps?? Also after reading the support thread so far i believe my understanding is that it won't work for any template and is just for responsive/bootstrap templates ie i cannot easily clone my wokiee template??
Tell staff why this post should be reviewed.