Ajeh:
Thanks for posting the link to the thread for the View All Products ... this is always of help to others ... :smile:
Glad you were able to wade through all of the posts and find it!
No problem. I figured it might increase the chances of someone else finding the answer.
BTW, I did it a little differently than you described. In order to insert the link on the page, I went to /includes/classes/split_page_results.php and just after lines 128-129 where it has:
// next button
if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= ' <a href="' . zen_href_link($_GET['main_page'], $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' ">' . PREVNEXT_BUTTON_NEXT . '</a> ';
I added:
//AD Mod - include a view all in category if more than one page
if ($this->number_of_pages != 1) $display_links_string .= ' <a href="' . zen_href_link($_GET['main_page'], $parameters . 'override=more' , $request_type) . '" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><img src="images/btn_viewall.gif" alt="View All" height="19" width="61" border="0" valign="bottom" /></a> ';
I've still got to play with the layout a little as the image is riding a bit high, but functionally it's doing fine.
<shameless self-promo>
You can see it at:
http://austindiamondstore.com/index.php?main_page=index&cPath=1_5_12
</shameless self-promo>