Forums / Templates, Stylesheets, Page Layout / prevent the same homepage text from showing on category pages?

prevent the same homepage text from showing on category pages?

Locked

Views: 2,632

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
1 Jul 2009, 7:15 AM
#1
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

prevent the same homepage text from showing on category pages?

Hi,

How do you prevent the same homepage text (below all the product categories) from appearing on the other pages?

For instance...

The main text below the product categories (describing the benefits of ergo products) is on this page:

http://209.67.53.167/~mbalo13/

As well as the category pages, such as this one:

http://209.67.53.167/~mbalo13/adjustableheighttables-c-23.html

Any idea what's causing this?

Much thanks!

1 Jul 2009, 9:41 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

Looks like you have hard-coded this page as a link into the footer.

<!--bof-navigation display --> <div id="navSuppWrapper"> <div id="navSupp"> <ul> **<li><a href="http://209.67.53.167/~mbalo13/">Home</a></li>** <li></li> </ul> </div> </div> <!--eof-navigation display -->

20 years a Zencart User

1 Jul 2009, 6:49 PM
#3
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

Thanks for your help schoolboy.

I tried that, but the homepage text still shows up on the category pages. Do you know what what page controls this info?

Thanks.

2 Jul 2009, 5:48 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

Are you aware of anyone (in the past) doing hard-code edits to your files? The only way this url could get into the code is if someone hard-coded it, so you'll need to find out what file(s) it was hard-coded into.

It is likely to be a header.php file of some kind... maybe even tpl_header.php EDIT... (not necessarily in this case! sorry...)

Go to your zenshop admin console.

Go to TOOLS>>>DEVELOPERS TOOL KIT

Then, in the final input field, type: http://209.67.53.167

From the dropdown "All Files Look-ups" select catalog/admin

Click "SEARCH"...

The results will tell you exactly where your url has been hardcoded...

20 years a Zencart User

5 Jul 2009, 7:41 PM
#5
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

Thanks for your help again. Actually, I think we're talking about two different things...I'm trying to prevent the text on the homepage (just below the products listed in the content area) from being duplicated on the category pages and other page, too. Here are a couple screen shots of what I'm talking about...

http://www.groundedgroup.com/clients/EP/EP_Homepage.jpg

http://www.groundedgroup.com/clients/EP/EP_Categorypage.jpg

See, the circled text is somehow replicated on category pages, as well as others. How do I prevent so it just shows up on the home page?

Thanks.

5 Jul 2009, 8:25 PM
#6
shh125 avatar

shh125

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

I have the same problem, mine showing on top of each categories if you found a solution please let me know,
Thank

12 Jul 2009, 7:11 PM
#7
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

Yeah, I'm still having the same problem. Dang. This is odd. Duplicate content is not good, especially for the search engines.

22 Jul 2009, 11:42 PM
#8
jhouse avatar

jhouse

Zen Follower

Join Date:
Dec 2006
Posts:
132
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

Fixed.

Here's what I did...

I just copied tpl_index_default.php from the template default folder and replaced the old one, and biggity bam, it worked. Now no more duplicate content. Yayyyy me!

6 Aug 2009, 8:01 PM
#9
simonx avatar

simonx

New Zenner

Join Date:
Aug 2009
Posts:
1
Plugin Contributions:
0

Re: prevent the same homepage text from showing on category pages?

JHouse:

Fixed.

Here's what I did...

I just copied tpl_index_default.php from the template default folder and replaced the old one, and biggity bam, it worked. Now no more duplicate content. Yayyyy me!

This is exactly the solution I was looking for as well. Thanks!

I tried the following and editing tpl_main_page.php but was unable to get the result I needed.

http://www.shellscript.co.uk/2008/04/10/separate-home-page-layout-for-zen-cart/

:cool: