Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Main page displaying in categories for some reaosn

    Hi there

    If you go here:
    http://pcselect.co.za/index.php?main_page=index&cPath=4

    You will see that some parts of the main page are displaying on every product category.

    Why is this happened?

    Thanks for your help.

    Kind regards
    S

  2. #2
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Re: Main page displaying in categories for some reaosn

    Quote Originally Posted by SethF View Post
    Hi there

    If you go here:
    http://pcselect.co.za/index.php?main_page=index&cPath=4

    You will see that some parts of the main page are displaying on every product category.

    Why is this happened?

    Thanks for your help.

    Kind regards
    S
    Fixed it.


    tpl_index_categories.php in template_default was set to enable it.

  3. #3
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Re: Main page displaying in categories for some reaosn

    Sorry to re-open this thread, but thought it may help others in the future.

    This problem is caused by installing the FAQ module.

    You can resolve is (not sure about the consequences of this) by adding this section of code to /includes/open-operations/faq_application_top.php

    Just overwrite the code from line 39 - 52 with that

    PHP Code:
    // calculate faq_category path
      
    if (isset($_GET['fcPath'])) {
        
    $fcPath $_GET['fcPath'];
      } elseif (isset(
    $_GET['faqs_id']) && !zen_check_url_get_terms()) {
        
    $fcPath zen_get_faq_path($_GET['faqs_id']);
      } else {
        if (
    SHOW_FAQ_CATEGORIES_ALWAYS == '1' && !zen_check_url_get_terms()) {
          
    //$show_welcome = 'true';
          
    $fcPath = (defined('FAQ_CATEGORIES_START_MAIN') ? FAQ_CATEGORIES_START_MAIN '');
        } else {
          
    //$show_welcome = 'false';
          
    $fcPath '';
        }
      } 
    Hope this helps
    S

 

 

Similar Threads

  1. Displaying A List of categories on the main page...
    By rckehoe in forum Basic Configuration
    Replies: 2
    Last Post: 12 Apr 2010, 02:23 AM
  2. Category Page Layout - some categories displaying differently?
    By Frano in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Oct 2008, 05:02 PM
  3. Main Page Displaying in Categories with Children
    By bgroup99 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Aug 2008, 06:56 PM
  4. Product categories displaying Main Page
    By sfreak in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Nov 2007, 10:25 AM

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