
Jake
Staff

Dec 11, 2007, 10:17 AM
Post #4 of 6
(3593 views)
Shortcut
|
|
Re: [4blacksheep] Search results "Next" button problem
[In reply to]
|
Can't Post
|
|
Hi Roni, Thanks for your reply! The following instructions are for the search pages that only look through one category. When you set up the different search results templates, you'll want to use the following code as a guideline for your next/previous links:
<a href="$settings.searchurl$?action=search&page=$articleList.prevPageNumber$&perpage=$articleList.perpage$&template=YOUR_CUSTOM_TEMPLATE_NAME&includeSubcats=$articleList.includeSubcats$&categoryNum=SPECIFIC_CATEGORY_NUMBER">prev page</a> <a href="$settings.searchurl$?action=search&page=$articleList.nextPageNumber$&perpage=$articleList.perpage$&template=YOUR_CUSTOM_TEMPLATE_NAME&includeSubcats=$articleList.includeSubcats$&categoryNum=SPECIFIC_CATEGORY_NUMBER">next page</a> In the links above, you'll need to replace two parts of the link to get the to work correctly: YOUR_CUSTOM_TEMPLATE_NAME: Needs to be the custom template name you set up for this category SPECIFIC_CATEGORY_NUMBER: Needs to be the corresponding category number for the category you're currently searching. You can find this out if you go to the "Categories" section of the Article Manager interface. If you click on one of the modify links, the category number will be revealed as a number at the end of the URL in your address bar. You'll also need to add a line of code to the pages that you're executing the search from. This line of code will need to be added so that the correct template is used:
<input type="hidden" name="template" value="YOUR_CUSTOM_TEMPLATE_NAME"> Give that a try and let us know if you have any other questions about this. ----------------------------------------------------------- Cheers, Jake Marvin - 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]
|