 |

Edz
New User
Sep 8, 2005, 3:54 AM
Post #1 of 3
(4109 views)
Shortcut
|
|
problem with different skins
|
Can't Post
|
|
I have a website with 3 different layouts. On each of these layouts there is a search option. On each search form I placed: <input type="hidden" name="skin" value="search_results_1.html"> <input type="hidden" name="skin" value="search_results_2.html"> <input type="hidden" name="skin" value="search_results_3.html"> that works fine I now have 3 different search results layouts. But when I click on the prev or next button on one of these temlates the layout is switched to the standard search_results.html layout. And when I remove the search_results.html file I get an error. Can someone please help me with this. Regards, Edwin
(This post was edited by Edz on Sep 8, 2005, 2:24 PM)
|
|
|  |
 |

MikeB
Staff
/ Moderator

Sep 8, 2005, 4:42 PM
Post #2 of 3
(4088 views)
Shortcut
|
|
Re: [Edz] problem with different skins
[In reply to]
|
Can't Post
|
|
Hi Edwin, Thanks for the post! By making a quick change to these 3 search results templates you should be able to set this up so the template doesn't change back to the original. For example, you'll want to open up search_results_1.html and look for this line of code: <a href="$next_url$" class="maintext"><b>Next >></b></a> You can then modify this line so it looks like this: <a href="$next_url$&skin=search_results_1.html" class="maintext"><b>Next >></b></a> This tells Search Engine that if the results are shown using search_results_1.html then when the "Next" button is clicked the same template should be used. You'll want to make this same change for the "Prev" button and for your other template files. 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
Hire me! 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 Priority Consulting.
|
|
|  |
 |

Edz
New User
Sep 8, 2005, 4:54 PM
Post #3 of 3
(4087 views)
Shortcut
|
|
Re: [MikeB] problem with different skins
[In reply to]
|
Can't Post
|
|
hi Mike... Thanks that did the trick!!!
|
|
|  |
|