Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Blank category main page

    I have barebones template and v1.3.9h

    I have five categories with some sub-categories under each category.
    On my Sidebar navigation, when I select a category, the sub-categories are shown in a drop down menu but the main page is empty.
    When I select a sub-category, everything is correct. The main page shows the items.

    I would like to show some images/links on each category page relative to the category/sub-category. Is there a way to do this?

    I have a static front page.

    I have checked with this page https://www.zen-cart.com/tutorials/index.php?article=82
    I have checked "myDebug-xxxxxx.log". There is one error: /includes/functions/functions_general.php on line 1329
    Which is this function:

    // replacement for fmod to manage values < 1
    function fmod_round($x, $y) {
    $x = strval($x);
    $y = strval($y);
    $zc_round = ($x*1000)/($y*1000);
    $zc_round_ceil = (int)($zc_round);
    $multiplier = $zc_round_ceil * $y;
    $results = abs(round($x - $multiplier, 6));
    return $results;
    }

    line 1329 is red
    I do not know what this code is and if it pertain to my problem.

    thank you
    Ivanna

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Blank category main page

    Link to the site?

  3. #3
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Blank category main page

    Barebones template does not have a dropdown menu. it is just a css change.

    What other addons do you have installed that could cause this?

  4. #4
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Blank category main page

    thank you for your replies.

    I have found what I must do.
    I must insert text and/or a single image from the edit mode of the top level category. I did not see this one

    Now it works, but I would like to format it better. At this moment, if I add text then select an image, the image is on top of the text. I assume this is because of the way PHP works. And also I can only insert one image.

    Is it permissable to add an image directly into the html? or perhaps a rotation of images as on the front page? I do not know if it will affect PHP.

    thank you
    Ivanna

 

 

Similar Threads

  1. v151 New Category has no category page but displays main page when clicked
    By Mike D in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 May 2015, 02:15 AM
  2. Feature products on category main page, but not on main home page
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Sep 2009, 03:47 PM
  3. Blank Main Page
    By acehowell in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 9 Aug 2009, 02:27 PM
  4. Getting sub category images to show up on the main category page
    By VigilantWine in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 16 Feb 2009, 09:45 AM
  5. Show sub categories for one main category on main page
    By relspeedwagon in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Oct 2008, 11:29 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR