Hi,
I know there once was a thread about having the search field left under the navigation and the results in the main content area.
Does anybody know?
Thanks a lot
macangelo
search field in left part, results main content
search field in left part, results main content
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://www.phpwcms.de/forum/viewtopic.p ... earch+left
http://www.phpwcms.de/forum/viewtopic.p ... nputaction
cheers
rush
http://www.phpwcms.de/forum/viewtopic.p ... nputaction
cheers
rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
Re: search field in left part, results main content
Hi macagelo,
02. Create one single new Article inside your new "Search" section
03. Create a "Search" content part in this newly created Article
04. Put/Edit as needed this piece of code inside each template(s) where you need your Search form to appear.
This is what I use on most of my sites:
Even simplier than above:
Hope these could help you out.
Cheers,
01. Create a section named Search and hide it if you want or notmacangelo wrote:Hi,
I know there once was a thread about having the search field left under the navigation and the results in the main content area.
macangelo
02. Create one single new Article inside your new "Search" section
03. Create a "Search" content part in this newly created Article
04. Put/Edit as needed this piece of code inside each template(s) where you need your Search form to appear.
This is what I use on most of my sites:
Code: Select all
<table style="margin:10px 0px 0px 8px;" width="100%" border="0" cellspacing="0" cellpadding="0" summary="x"><tr><td align="center">
<table width="182" border="0" cellspacing="0" cellpadding="0" summary="Search">
<tr valign="top">
<td class="class="formSearch" valign="top" align="left">
<!-- ------ CALL TO YOUR SEACH FORM SECTION ALIAS - NAME CAREFULLY HERE (i.e. index.php?en_search) ------- --><form action="index.php?en_search" method="post">
<!-- CALL END -->
<input name="search_input_field" type="text" maxlength="200" value=" Search..." class="inputText" style="width:120px" /></td>
<td width="90%"> <input name="submit" type="submit" value="OK" class="formButton" /> </td>
</tr>
</form>
</table>
</td></tr></table>Code: Select all
<table>
<tr>
<td>
<form action="index.php?en_search" method="post">
<input name="search_input_field" type="text" maxlength="200" value=" Search..."></td>
<td><input name="submit" type="submit" value="OK">
</td>
</tr>
</form>
</table>
Cheers,

PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
that helped! thanks a lot
macangelo
macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign