Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Previous - Full List - Next navigation

Previous - Full List - Next navigation

Locked

Views: 2,018

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 Sep 2006, 6:04 PM
#1
monteq avatar

monteq

New Zenner

Join Date:
Apr 2006
Location:
Niagara Falls, Ontario
Posts:
5
Plugin Contributions:
0

Previous - Full List - Next navigation

Hello All -- I may be blind but I haven't been able to find any information with regards to editing the category navigation that appears on a product detail page.

To see what I'm talking about, please visit this link and click 'more info' for any product to view the details for that product:
http://www.drgrantmullen.com/media_centre/catalog/

At the top of the page there are three navigation buttons; Previous, Full List and Next. My client has requested that the 'Full List' link be removed.

Any suggestions as to where I should look?

Thanks for your help!

25 Sep 2006, 6:11 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

You will have to comment our that particular button from the template for the module. tpl_next_previous.php

Be sure to put your changed copy in the overrides.

25 Sep 2006, 6:26 PM
#3
monteq avatar

monteq

New Zenner

Join Date:
Apr 2006
Location:
Niagara Falls, Ontario
Posts:
5
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

Beautiful! Thanks for your quick reply :) I don't know how I missed that.

The name of the template file that I edited is called -- tpl_products_next_previous.php.

25 Sep 2006, 10:50 PM
#4
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

Yes, that is the correct file. Seems my fingers were not awake when I answered. :)

28 Apr 2008, 7:00 PM
#5
utopiko avatar

utopiko

New Zenner

Join Date:
Apr 2008
Location:
Montreal
Posts:
34
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

Hi, i followed the above and found the file, but i can't find where to
change the text in those buttons.

For example, replacing "Return to Product List" for "List" ?

Any help

6 Jun 2008, 3:16 PM
#6
ecm avatar

ecm

New Zenner

Join Date:
May 2005
Location:
Leicester, UK
Posts:
86
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

Hi,
In the admin look for tools/Developers toolkit. Enter the text you are looking for in the bottom search box & make sure that you select Catalog. This should show you were this text is stored - possibly includes/languages/your template/english.php ?

Cheers,
Eddie

12 Sep 2008, 12:48 PM
#7
jenzi avatar

jenzi

Zen Follower

Join Date:
Jan 2007
Posts:
145
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

I'm trying to edit this so that I only have "previous" as a link. Can someone help me with which bits I need to comment out exactly?

<div class="navNextPrevWrapper centeredContent">
<?php
// only display when more than 1
  if ($products_found_count > 1) {
?>
<p class="navNextPrevCounter"><?php echo (PREV_NEXT_PRODUCT); ?><?php echo ($position+1 . "/" . $counter); ?></p>
<div class="navNextPrevList"><a href="<?php echo zen_href_link(zen_get_info_page($previous), "cPath=$cPath&products_id=$previous"); ?>"><?php echo $previous_image . $previous_button; ?></a></div>

<div class="navNextPrevList"><a href="<?php echo zen_href_link(FILENAME_DEFAULT, "cPath=$cPath"); ?>"><?php echo zen_image_button(BUTTON_IMAGE_RETURN_TO_PROD_LIST, BUTTON_RETURN_TO_PROD_LIST_ALT); ?></a></div>

<div class="navNextPrevList"><a href="<?php echo zen_href_link(zen_get_info_page($next_item), "cPath=$cPath&products_id=$next_item"); ?>"><?php echo  $next_item_button . $next_item_image; ?></a></div>
<?php
  }
?>
</div>
12 Sep 2008, 12:48 PM
#8
jenzi avatar

jenzi

Zen Follower

Join Date:
Jan 2007
Posts:
145
Plugin Contributions:
0

Re: Previous - Full List - Next navigation

I forgot to say please and thanks! :cool: