Forums / Templates, Stylesheets, Page Layout / Do I have to edit every page?

Do I have to edit every page?

Locked

Views: 772

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Nov 2007, 8:44 AM
#1
justinae avatar

justinae

New Zenner

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

Do I have to edit every page?

I want to set up the main content of my page to expand depending on how much content there is. I got it working just fine on the main page but when I clicked on a product it doesn't show. Then I edited that one and it worked just fine. Do I have to edit all the pages in the templates/MYTEMPLATE/templates/ folder?

thanx!

11 Nov 2007, 9:06 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Do I have to edit every page?

I'm afraid that it's neither clear what you are trying to do, or have done.

By default your Zen Cart pages will expand to reflect the amount of content they contain, unless you tell them otherwise by introducing fixed heights in the stylesheet. So it's not clear what you're trying to do.

I don't really understand what you mean when you write that when you click on a product it doesn't show. Do you mean that you click on a product image, the relevant product information page doesn't load? If so, what edit did you make to change that.

All in all, I suspect that it's only likely that we will be able to help if you give us a link to the site so that we can see what's going on.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

11 Nov 2007, 9:13 AM
#3
justinae avatar

justinae

New Zenner

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

Re: Do I have to edit every page?

sorry i wasn't very clear. I am using a background image for the main content. It's set up with CSS to have a top and bottom image with rounded corners and the middle section expands.

You can see it here: http://www.buildlocal.org/zencart/index.php

If you click on the top links you'll see that the background image doesn't show up on those pages.

I hope that clears it up. thanx for responding.

11 Nov 2007, 9:25 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Do I have to edit every page?

A picture is worth .... I now understand completely your original post.

The issue here is that you have added your images to the tpl_index_default.php template. This is just one page, and if you used this approach then, yes, would need to add it for each page template.

However, there is an alternative. You could instead add your images to the common/tpl_main_page.php template which is used by all pages.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

11 Nov 2007, 9:37 AM
#5
justinae avatar

justinae

New Zenner

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

Re: Do I have to edit every page?

oh fantastic. i'll give that a try tomorrow. thank you so much.