Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / product category listing using ez pages

product category listing using ez pages

Locked

Views: 1,176

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
23 Apr 2010, 3:48 PM
#1
artifaxworthing avatar

artifaxworthing

New Zenner

Join Date:
Mar 2010
Posts:
74
Plugin Contributions:
0

product category listing using ez pages

we are using ez pages, when we add a new category it shows in the left hand 'our products' box but it also lists the page links in the main box.

any ideas how we can remove the links from the main pages just leaving the ones in the left 'our products' box??

http://artifaxonline.co.uk/t-shirts/

23 Apr 2010, 4:04 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: product category listing using ez pages

Your link doesn't work, so we can't see exactly what you're taliking about. Do you mean the category names in the header?

27 Apr 2010, 8:09 AM
#3
artifaxworthing avatar

artifaxworthing

New Zenner

Join Date:
Mar 2010
Posts:
74
Plugin Contributions:
0

Re: product category listing using ez pages

Hi sorry the link was down on Saturday but is now up and running!

Its the our products box that is duplicating in the centre box, how do we stop this?

27 Apr 2010, 1:57 PM
#4
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: product category listing using ez pages

It looks like someone modified your tpl_main page to include the categories in the center. I can tell you what code is doing it, but I can't tell you why the code is there or how to achieve what you are hoping for by putting the code there.

Your bad code is : ```

<!-- BOF: Display grid of available sub-categories, if any -->
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=1&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="T-Shirts" title=" T-Shirts " width="1" height="1" /><br />T-Shirts</a></div>
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=3&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Bags" title=" Bags " width="1" height="1" /><br />Bags</a></div>

<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=4&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Mugs & Coasters" title=" Mugs & Coasters " width="1" height="1" /><br />Mugs & Coasters</a></div>
<br class="clearBoth" />
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=5&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Mousemats" title=" Mousemats " width="1" height="1" /><br />Mousemats</a></div>
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=6&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Jigsaws" title=" Jigsaws " width="1" height="1" /><br />Jigsaws</a></div>
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=7&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Placemats" title=" Placemats " width="1" height="1" /><br />Placemats</a></div>
<br class="clearBoth" />
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=8&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Chopping Boards" title=" Chopping Boards " width="1" height="1" /><br />Chopping Boards</a></div>
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=9&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Teddys" title=" Teddys " width="1" height="1" /><br />Teddys</a></div>
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=10&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Keyrings" title=" Keyrings " width="1" height="1" /><br />Keyrings</a></div>
<br class="clearBoth" />
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=11&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Fridge Magnets" title=" Fridge Magnets " width="1" height="1" /><br />Fridge Magnets</a></div>
<div class="categoryListBoxContents" style="width:33%;"><a href="http://artifaxonline.co.uk/t-shirts/index.php?main_page=index&cPath=12&zenid=231a78c4d7bbaf37fef369ba2322904e"><img src="images/pixel_trans.gif" alt="Bottle Aprons" title=" Bottle Aprons " width="1" height="1" /><br />Bottle Aprons</a></div>
<br class="clearBoth" /> <!-- EOF: Display grid of available sub-categories -->
27 Apr 2010, 6:17 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: product category listing using ez pages

Your question has nothing whatever to do with ez-pages; it is an admin setting.
Configuration > Layout Settings > Categories - Always Show on Main Page ->set to 0.

Also, I notice that you apparently tried to get the logo centered. In doing so, you have messed up a bunch of other elements that share the same setting rule.

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
	float: centre;
	}
```Float can only be left, right or none. Removing the float from all the other elements makes them line up in one column down the page instead of making a grid or rows as would normally be desired. Change to

#logo {
float: none;
}

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}