Forums / General Questions / Main page content showing up on every category page

Main page content showing up on every category page

Locked

Views: 1,273

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
24 Feb 2009, 1:46 AM
#1
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Main page content showing up on every category page

For some reason the content that I have on my main page is showing up in most of my main category sections. What could be causing this?

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

24 Feb 2009, 2:17 AM
#2
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0
24 Feb 2009, 2:20 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main page content showing up on every category page

You have a few new divs and tables that contain this and only you know where/what files these were inserted into as they are not from any default code

popover-category-name
popover-grouping
siteDirectory

Zen-Venom Get Bitten

24 Feb 2009, 3:25 AM
#4
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Main page content showing up on every category page

I removed the css code I added but that didn't work.

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

24 Feb 2009, 3:28 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main page content showing up on every category page

I removed the css code I added but that didn't work.
css only controls the styling of elements that exist in the code

Zen-Venom Get Bitten

24 Feb 2009, 3:31 AM
#6
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Main page content showing up on every category page

I pretty sure the problem is the FAQ module I installed some time ago, I read somewhere of someone with the same exact problem and when they removed it everything went back to normal.

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

25 Feb 2009, 1:59 PM
#7
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,304
Plugin Contributions:
39

Re: Main page content showing up on every category page

In /public_html/includes/open-operations/faq_application_top.php

Find the following and add the bold commenting.

// 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()) {
      [B]//[/B]$show_welcome = 'true';
      $fcPath = (defined('FAQ_CATEGORIES_START_MAIN') ? FAQ_CATEGORIES_START_MAIN : '');
    } else {
      [B]//[/B]$show_welcome = 'false';
      $fcPath = '';
    }
  }

~Melanie