Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    74
    Plugin Contributions
    0

    Default 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/

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

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

  3. #3
    Join Date
    Mar 2010
    Posts
    74
    Plugin Contributions
    0

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

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default 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 :
    Code:
    <!-- 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&amp;cPath=1&amp;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&amp;cPath=3&amp;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&amp;cPath=4&amp;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&amp;cPath=5&amp;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&amp;cPath=6&amp;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&amp;cPath=7&amp;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&amp;cPath=8&amp;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&amp;cPath=9&amp;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&amp;cPath=10&amp;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&amp;cPath=11&amp;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&amp;cPath=12&amp;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 -->
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.
    Code:
    #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
    Code:
    #logo {
    	float: none;
    	}
    
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}

 

 

Similar Threads

  1. v154 Admin category/product listing images not using SSL
    By torvista in forum Bug Reports
    Replies: 4
    Last Post: 8 Apr 2015, 03:01 PM
  2. v151 Making each product listing on the Category pages a link
    By GodfatherAntiques in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 16 Mar 2013, 03:45 AM
  3. Eliminate right column on ALL Product Category Listing pages
    By lindenboy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Apr 2011, 10:35 PM
  4. Abbreviated Category description in subsequent product listing pages
    By sfischer in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 Oct 2009, 06:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg