Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Copying classic template

Copying classic template

Locked

Views: 3,434

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
9 Jan 2008, 4:32 PM
#1
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Copying classic template

I'm following the instructions in the Zen Cart book. Page 273 describes copying the 'classic' template to a folder and calling it 'magic'. I did that, then switched to the new template. The problem is that the 'classic' template looks like this:

And the new (magic) template looks like this:

What's the go with that? Why did the side boxes disappear and the 'Tagline Here' text appear?

I'm trying to use the override system so that I can create a new template I can edit the CSS on and get rid of the book ad in the middle.

9 Jan 2008, 4:38 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Copying classic template

Also admin > tools > layout boxes controller > reset >

Zen Does not know what boxes are associated with a new template until you configurre it

10 Jan 2008, 12:26 AM
#3
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Copying classic template

Ah ha! It work now - thanks!

Now how do I get rid of the "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.
Welcome Guest! Would you like to log yourself in?" text?

10 Jan 2008, 12:32 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Copying classic template

justincataldo:

Ah ha! It work now - thanks!

Now how do I get rid of the "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.
Welcome Guest! Would you like to log yourself in?" text?
[
www.zen-cart.com/tutorials/index.php?article=129](https://www.zen-cart.com/tutorials/index.php?article=129)

www.zen-cart.com/tutorials/index.php?article=128

10 Jan 2008, 1:23 AM
#5
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Copying classic template

Thanks! I turned off the welcome message.

https://www.zen-cart.com/tutorials/index.php?article=129

I've created the includes/languages/english/custom/index.php file, and changed the "Congratulations! you have successfully installed..." text, but it's ignoring the custom one and using the includes/languages/english/index.php file. How come? :blink:

10 Jan 2008, 3:26 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Copying classic template

Change the name of the 'custom' directory to match your template's name - all of your custom folders must have the same name or the magic naming convention won't work.

10 Jan 2008, 4:15 AM
#7
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Copying classic template

Got it! Thanks heaps! :D

5 Mar 2008, 2:23 PM
#8
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Copying classic template

What about editing the images of the template?

I've changed /includes/templates/magic/images/tile_back.gif to a different colour, but the bottom border of the boxes either side of the screen is still the green of the default template. How can I change this?

After that I think I'm pretty much good to go. I've selected COD and Credit Card as methods of payment.
What do I do now? Shall I sign up with a test account and see if it all works?
How do I know when the site if ready for release? Is there a list of checks I need to run through to ensure it's all functioning properly?

5 Mar 2008, 2:46 PM
#9
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Copying classic template

The green sidebox border bottom is in your stylesheet here:

.leftBoxContainer, .rightBoxContainer {
margin: 0em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #336633;
margin-top: 1.5em;
}

6 Mar 2008, 1:29 AM
#10
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Copying classic template

Got it! Thanks!

So how do I test the site is ready for release?

6 Mar 2008, 2:30 AM
#11
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Copying classic template

click all the links, make sure they work, login as a customer and make several test purchases with all of the payment and shipping methods you offer.

8 Mar 2008, 1:17 PM
#12
justincataldo avatar

justincataldo

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Copying classic template

It all looks good. Thanks for your help! :smile: