Forums / Templates, Stylesheets, Page Layout / Removing Category Description from page 2

Removing Category Description from page 2

Locked

Started by nyfurniture on 7 Apr 2009, 9:19 PM · Views: 899

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Apr 2009, 9:19 PM
#1
nyfurniture avatar

nyfurniture

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Removing Category Description from page 2

Hello, I want to remove my category description from all of the category pages other than the first one for SEO reasons. Can this be done.

For example if my products in a category can not be displayed on one page then you have the page 2, 3, 4 and so on.

Right now the category description shows on all the pages.

Any help would be great I am using zen cart version 1.3.8a

7 Apr 2009, 9:51 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category Description from page 2

Ny,
do you have a screen shot please...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

7 Apr 2009, 10:10 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Removing Category Description from page 2

Ny,
I notice from the screen shot that you have created a table format:

  1. I see it defined as the first td<B>Learn more about our Modern .....................
  2. delete the table structue and see what will happen

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

7 Apr 2009, 10:18 PM
#5
nyfurniture avatar

nyfurniture

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Removing Category Description from page 2

I do not see why the tables would matter however for the sake of testing I removed it from this page...

http://www.nyfurnitureoutlets.net/index.php?main_page=index&cPath=17 Now you see only

"This is a test"

And if you go to page two of the category you still see it...

http://www.nyfurnitureoutlets.net/index.php?main_page=index&cPath=17&sort=20a&page=2

7 Apr 2009, 10:19 PM
#6
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Removing Category Description from page 2

Well, if you want to delete the desc on page 2, you have to use an if statement. I dont remember exactly which file holds the info, it is easy to find out using the developer toolkit. You have to do something like this
if(!isset($_GET['page']) || $_GET['page'] == 1){
// code to print description here

}

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

7 Apr 2009, 10:25 PM
#7
nyfurniture avatar

nyfurniture

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Removing Category Description from page 2

ok thanks, I thought I might be able to do something like that just was wondering if there was something in the admin that would disable it