SID-00102: Confused about search in NatSkin and template usage
| Status: |
Unanswered |
TWiki version: |
4.2.2 |
Perl version: |
5.8.8 |
| Category: |
CategoryTemplates |
Server OS: |
Ubuntu |
Last update: |
17 years ago |
Hi!
This is the case: Our Main web uses Nat skin. The Main web frontpage have default a search form similar to the TWiki web frontpage (
WebSearch). The Main web has also a search form belonging to the
NatSkin in the upper right corner.
I am a little bit confused about these two different search forms, as they generate different layout of the search results.
I have found that the Search form in the upper right corner (natSearch) uses the search.nat.tmpl. But what template does the default
WebSearch use?
In the end I want to have the one layout of the search results, not two (depending on where you started the search).
Alternatively, how can I customize the
NatSkin search (or template), to execute the default
WebSearch script.
--
AtleGundersen - 13 Feb 2009
Discussion and Answer
One comment to my question:
One of the problems I have with
NatSearch, is how to enable the sidebar in the search results. I found in the body.nat.tmpl a conditional include .
If I remove the conditional and just include the "layout_sidebar_left", the sidebar appear as I want to.
However, I can't find any information about the context="natskin_sidebar_left" and, why it's not "set" for search results. The sidebar is OK for all other
NatSkin pages.
Does anyone have an idea about the what's going on?
--
AtleGundersen - 13 Feb 2009
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-04-17
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.