 |

steve_e
User
Jul 6, 2005, 8:30 AM
Post #1 of 6
(4886 views)
Shortcut
|
|
search results template
|
Can't Post
|
|
Hi - I'd like to include the search results in a php page. I can't seem to find the place where the program selects what template to use, so I can't change it from search_results.html to a .php template file. I'm sure I should be able to find it but I can't - sorry! Regards, Steve.
(This post was edited by steve_e on Jul 6, 2005, 8:31 AM)
|
|
|  |
 |

steve_e
User
Jul 7, 2005, 6:26 AM
Post #2 of 6
(4877 views)
Shortcut
|
|
Re: [steve_e] search results template
[In reply to]
|
Can't Post
|
|
OK - so I'll assume I can't change the search_results.html template to a php template. I have a related question - if I click the 'advanced search' link from the search results page, you get more elaborate search options. But this new page is not formatted with the search_results.html template. I can't see any other templates to use - how do I give this page the format of my own site? Regards, Steve.
|
|
|  |
 |

MikeB
Staff
/ Moderator

Jul 8, 2005, 10:13 AM
Post #3 of 6
(4864 views)
Shortcut
|
|
Re: [steve_e] search results template
[In reply to]
|
Can't Post
|
|
Hi Steve, Thanks for the posts! I just replied to your email but thought I'd post here for the good of the community and anyone who is curious. The advanced search for Search Engine will use the search_form.html. In the <form> code for this file (or any other <form> code that will execute the search) you'll want to add this attribute: <input type="hidden" name="skin" value="search_results.php"> This will tell Search Engine to return the results based on the template or "skin" you have defined. 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.
|
|
|  |
 |

steve_e
User
Jul 12, 2005, 8:09 AM
Post #4 of 6
(4793 views)
Shortcut
|
|
Re: [MikeB] search results template
[In reply to]
|
Can't Post
|
|
Thanks Mike - That did the trick!
|
|
|  |
 |

Mortekai
User
Jul 28, 2005, 7:34 AM
Post #5 of 6
(4410 views)
Shortcut
|
|
Re: [MikeB] search results template
[In reply to]
|
Can't Post
|
|
This works, but it still does not approve of php includes :P
|
|
|  |
 |

ross
Staff
/ Moderator

Jul 28, 2005, 2:48 PM
Post #6 of 6
(4390 views)
Shortcut
|
|
Re: [Mortekai] search results template
[In reply to]
|
Can't Post
|
|
Hi Mortekai. Thanks for posting! The reason you aren’t seeing any PHP includes on the search pages is because both of them are dynamically created. With the way an include statement works, they aren’t able to run on a dynamic page. This isn’t a problem specific to Listings Manager or even PHP. Includes, whether PHP, SSI or ASP aren’t going to work on any dynamic page. Does that make sense? Let me know if you would like anymore details . ----------------------------------------------------------- Cheers, Ross Fairbairn - 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.
|
|
|  |
|