Log in

View Full Version : Adding sidebar in search results?


CSS59
12-17-2007, 01:32 AM
I would like to add a left sidebar with custom content in the search results only. How would I add it?

valdet
12-17-2007, 01:57 AM
You can either insert you sidebar code in search-results template

or

Use this conditional on bottomof your navbar template

<if condition="THIS_SCRIPT=='search'">
YOUR LEFT SIDEBAR CODE
</if>

Regards,
Val.

CSS59
12-17-2007, 02:00 AM
hi,
i'd like to put the code in the search-results template, how do I do that?

valdet
12-17-2007, 02:10 AM
It depends what modification you are using.

Try to add your sidebar code that would look something like this: $sidecolumn
just under $navbar on the search-results template

Assuming you know what kind of code (for sidecolumn) you need to add, you would have it like this
$navbar
$sidecolumn

Val.

CSS59
12-18-2007, 02:17 AM
I do not have a sidebar modification.
How do I create content for the sidebar so I can just call it via the $sidecolumn name?

C.ooder
12-18-2007, 03:03 AM
hi

go to

https://vborg.vbsupport.ru/showthread.php?t=126464