Forums / Addon Admin Tools / Clone a Template [Support Thread]

Clone a Template [Support Thread]

Views: 46,080

Results 81 to 100 of 108
9 Feb 2023, 7:50 PM
#81
IDEASLady avatar

IDEASLady

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!

9 Feb 2023, 8:06 PM
#82
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Clone a Template [Support Thread]

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

26 Apr 2023, 6:25 PM
#83
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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

](http://argentiniansupermarket.com)

26 Apr 2023, 7:13 PM
#84
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

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

27 Apr 2023, 1:48 AM
#85
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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

](http://argentiniansupermarket.com)

27 Apr 2023, 1:53 AM
#86
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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

](http://argentiniansupermarket.com)

27 Apr 2023, 2:04 AM
#87
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Clone a Template [Support Thread]

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

29 Apr 2023, 5:44 PM
#88
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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

](http://argentiniansupermarket.com)

29 Apr 2023, 6:30 PM
#89
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

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.

30 Apr 2023, 3:56 AM
#90
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

This is a test to see if this post disappears as the previews ones.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

3 Oct 2023, 12:23 PM
#91
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

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.

15 Mar 2024, 5:28 PM
#92
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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.

16 Mar 2024, 1:10 PM
#93
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

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.

16 Mar 2024, 2:21 PM
#94
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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

16 Mar 2024, 3:13 PM
#95
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

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:

26 Jun 2024, 10:14 PM
#96
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

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

26 Jun 2024, 10:22 PM
#97
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

bootstrap copy, with that space? I thought I'd disallowed any characters other than alphabetic, numeric and underscores.

27 Jun 2024, 1:50 AM
#98
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Clone a Template [Support Thread]

woops. The actual name is bootstrap_copy

27 Jun 2024, 11:47 AM
#99
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Clone a Template [Support Thread]

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.

9 Nov 2024, 7:14 PM
#100
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
319
Plugin Contributions:
4

Re: Clone a Template [Support Thread]

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??