Loading...
 
Skip to main content

Features / Usability


how to include search box in header

Hi,

I want to include the search module in the header file. When I tried to call it using {MODULE} tags, it gave me a Smarty compiler error and I had to re-upload the header.tpl to make the site work again!

Please tell me how I can include the search module in the header.tpl of the site.

You can try something like this
In templates/tiki.tpl or the one of your style
add

I usually find copy/pasting the contents on the search_box.tpl better as then you can style and move things around. You can even make the search what dropdown a hidden field with a default value of wiki or all.

Damian

May be a dumb question: but whatever I try, the search box comes on the next line and does not come on the same line as the navigational links.

Many thanks,
Sooraj.

PS Damian: Could you please tell me if memory_limit of 8M which my host provides is enough to display external RSS feeds on the site?

8Mb is only good for an empty tiki site. Once your start populaing it, it will begin to die. Try and move to a TikiFriendlyHost.

The search box will be because you need to move the tags about a little out of tables etc or whatever you are designing. Email me with the source if you want some guideance on that.

Damian

thanks Damian - got the search box alright by including it in a separate column in the table.