Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default category pages open with main page image

    Suddenly my category pages are opening with the image from my main page at the top of them. I didn't tell it to do that! Does anyone know how to get rid of that image from category pages?
    Thanks in advance
    Give us your best shot!
    http://www.photoimprints.com

  2. #2
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: category pages open with main page image

    actually it's the entire contents of my main page that appears on any category page that has products under it. Anyone have any idea why?
    Thank you
    Give us your best shot!
    http://www.photoimprints.com

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: category pages open with main page image

    Do you have an URL that we can peek at to see what you are seeing?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: category pages open with main page image

    Sure. Go first to www.photoimprints.com. Then click on either the DRINKWARE or the BOOKMARK catetory. You will see that the same info from mainpage displays above the category page info. It only affects categories with product in them. If you go to HEADWARE it displays the message I put in for that category.
    Thanks
    Give us your best shot!
    http://www.photoimprints.com

  5. #5
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: category pages open with main page image

    The problem started after I installed the FAQ module. It calls for a mod to application_top as follows:

    <?php
    // include the list of extra open-operations files
    if ($za_dir = @dir(DIR_WS_INCLUDES . 'open-operations')) {
    while ($zv_file = $za_dir->read()) {
    if (strstr($zv_file, '.php')) {
    require(DIR_WS_INCLUDES . 'open-operations/' . $zv_file);
    }
    }
    }
    ?>

    If I remove this snippet of code, the problem with main_page displaying on every category page goes away, but so does my whole right column!
    Give us your best shot!
    http://www.photoimprints.com

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: category pages open with main page image

    It may be easier to figure this out using something like Beyond Compare from scootersoftware.com where you can compare your files to a clean Zen Cart ...

    Also, check the /includes/templates/template_default/tpl_index_categories.php as well as your override for that file ... to make sure you have no changes there ...

    It is possible, that this is due to the add-on you mentioned ... but unless I were to do the same and do a file comparrison I cannot say for sure ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Apr 2006
    Location
    Chiang Mai
    Posts
    405
    Plugin Contributions
    0

    Re: category pages open with main page image

    sorry to hijack this thread with a question...but...

    how do you go about displaying that image via tpl_index_categories.php

    I'm trying to get an image in the upper/center of my index page

    I edited english/index.php "Congratulations you've successfully installed..." and replaced it with an image define('HEADING_TITLE', '<img src="/images/xxxx.jpg" alt="xxx" />') - but that is not giving me the result I want because to have it centered all the text gets centered too...

    thanks(sorry)

  8. #8
    Join Date
    Feb 2005
    Location
    UK
    Posts
    76
    Plugin Contributions
    0

    Default Re: category pages open with main page image

    Quote Originally Posted by styledata
    The problem started after I installed the FAQ module. It calls for a mod to application_top as follows:

    <?php
    // include the list of extra open-operations files
    if ($za_dir = @dir(DIR_WS_INCLUDES . 'open-operations')) {
    while ($zv_file = $za_dir->read()) {
    if (strstr($zv_file, '.php')) {
    require(DIR_WS_INCLUDES . 'open-operations/' . $zv_file);
    }
    }
    }
    ?>

    If I remove this snippet of code, the problem with main_page displaying on every category page goes away, but so does my whole right column!
    Hi there
    Wondered if you resolved this problem as exactly the same is happening to me after adding the above code you added for the links manager mod. and if i remove it the problem disappears

    Thanks
    Rachel

  9. #9
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: category pages open with main page image

    I wound up reversing the install. Hope I got it all! It seems fine now. I was having other issues with the mod, so I figured I better take it out. I don't think it's fully compatible with 1.3.
    Give us your best shot!
    http://www.photoimprints.com

 

 

Similar Threads

  1. Open Main Category with Sub-Category
    By yaseent in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Dec 2014, 12:27 PM
  2. Main page open with category and new product, Featured Product
    By jennydutch in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Jun 2014, 08:26 PM
  3. v150 Linking image on main page to category pages
    By Kenteman in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Sep 2012, 08:50 PM
  4. Image only on main page and category pages
    By cracket in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Sep 2012, 02:00 AM
  5. Getting Main Page To Open With Category Plus Other Stuff
    By dmcco in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Jun 2011, 10:04 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