Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi all

I have this code
Code: Select all
<div class="search-block">
<form method="get" id="searchform-header" action="http://digitalicon.com/subha/">
<button class="search-button" type="submit" value="Search"></button>
<input type="text" id="s" name="s" value="Search..." onfocus="if (this.value == 'Search...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search...';}"/>
</form>
</div>


Now wehre I put or modify below couch code on upper code ?
Code: Select all
 
<li>
<div align=right style="padding: 25px;">
<cms:search_form msg='Search' processor="<cms:show k_site_link/>search.php" />
</div>
   </li>
Your code does not require any modification - the only requirement of the search form is to have a textbox named 's'. Your form already has that.

The 'action' attribute is set to 'http://digitalicon.com/subha/', so that is the page that will be invoked upon form submission. Place the cms:search code on that page (or change the action to a page that has the search code).

Hope this helps.
2 posts Page 1 of 1