On Dec 21, 2009, at 10:42 PM, Rakesh Vidyadharan wrote:

Figured out what the issue was. I had to also enable the templates up the chain (header and main).

Not needed.

(check on demoauthor.magnolia-cms.com, just added "hello" in the search box;))

Also had to switch to HTML comment block instead of freemarker comment block.

As said in previous email, use the square-bracket syntax instead. [#-- lalala ..]

-g


Rakesh


On 21/12/2009 15:06, "Rakesh Vidyadharan" <[email protected]> wrote:

How do I hide/disable the search bar that is shown by default on all pages built using the STK? I tried commenting out the appropriate section in /templating-kit/templates/global/branding, but the search form still shows up. I also enabled the template on the edit page. I tried restarting tomcat, activating the node etc., but not effect.

On a related note, what is the easiest way to plug in a custom search handler for the same?

Thanks
Rakesh

<#--
    <div id="search-box">
        <h6>${i18n['accessibility.header.search']}</h6>
        <form action="${model.searchPageLink!}" >
        <div>
<label for="searchbar">$ {i18n['accessibility.header.searchFor']}</label> <input id="searchbar" name="queryStr" type="text" value="${ctx.queryStr!}" /> <input class="button" type="submit" value="$ {i18n['button.label.search']}" />
        </div>
        </form>
    </div><!-- end search-box -->
-->

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to