
MikeB
Staff
/ Moderator

Mar 21, 2006, 5:09 PM
Post #9 of 22
(12211 views)
Shortcut
|
|
Re: [Turnstyle] Is it Possible to Paginate Results Pages?
[In reply to]
|
Can't Post
|
|
Hi Turnstyle, Good to hear from you! I'm glad to hear that you've been able to get this set up on your search results page with Article Manager. These lines of code are actually only designed to work on a search results page so they wouldn't actually bring up any results on the category index pages. When someone views a category they'll be viewing a static .shtml file (for example, cat_index_5.shtml) that has been created by the category index template (/templates/index/default.html). Because this is a static file, rather than a search result, if you added the code to this page the placeholders ($search_match$, $search_cpage$, etc.) wouldn't have any values. This means you're not actually able to have these values displayed on that static .shtml file for your categories because your output would look something like this: Found record(s) Page of Showing results to When the user clicks "More Headlines" this will now be using search.cgi so this code should work fine again. If you'd like to add this code to the category index template you could also add a bit of JavaScript so it will show nothing on the static file (cat_index_5.shtml) and will show the full details (pages, results found, etc.) once the visitor clicks "More Headlines". I hope this helps and if you have any other questions feel free to let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|