Previous search results page... how to
cosmin 269
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Previous search results page... how to
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Previous search results page... how to
You could modify the template search_next_page like this:
You could modify the template search_next_page like this:
<?php
global $insert;
($insert['search_start'] > 100) ? $prev = "<a href="https://www.contentteller.com/javascript:history.go(-1)">Previous page</a> | " : $prev = "" ;
$EST_TEMPLATE = <<<TEMPLATE
<!-- Template search_next_page -->
<br />
$prev <a href="https://www.contentteller.com/search.php?for=$insert[search_query]&cat=$insert[search_where]&start=$insert[search_start]">Next matches</a>
<br />
TEMPLATE;
?>
I noticed today that if a search returns several pages of results, you can click next and go to the next page of results, but once there, there is no direct link to the previous page of results. You can only go back with the "Back" button. How can I get it to work?