search field
Moderator: Thorsten
search field
I add search field to the right menu.
It works good - but unfortunately it disappears when i select topics from top ten.
What should i do to prevent disappearing of it?
It works good - but unfortunately it disappears when i select topics from top ten.
What should i do to prevent disappearing of it?
Re: search field
Hi,
in which template did you add it?
bye
Thorsten
in which template did you add it?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: search field
Hi,
yes, but which file.
bye
Thorsten
yes, but which file.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: search field
Hi,
please post your changes.... otherwise it'S hard to help you!
bye
Thorsten
please post your changes.... otherwise it'S hard to help you!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: search field
I only moved search field to the right menu. Nothing else.
If you write something in search field in "default template" and press enter the field disappears (the same as in my template) and the search results appears.
If you write something in search field in "default template" and press enter the field disappears (the same as in my template) and the search results appears.
Re: search field
Hi,
but I need your index.tpl file to see what exactly you have changed...
bye
Thorsten
but I need your index.tpl file to see what exactly you have changed...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: search field
<div class="rightcolumn" style="border-left:1px solid gray;">
<div class="content" >
<b>CATEGORIES</b>
<div id="categories">
<ul>
{showCategories}
</ul>
</div>
</div>
<div class="content">
<div id="stickyrecords">
<h3>{stickyRecordsHeader}</h3>
<ul>
[stickyRecordsList]
<li><a href="{stickyRecordsUrl}">{stickyRecordsTitle}</a></li>
[/stickyRecordsList]
</ul>
</div>
</div>
<div class="content">
[globalSearchBox]
<form id="search" action="{writeSendAdress}" method="get">
<input type="text" name="search" id="searchfield" size="30" />
<input type="submit" name="submit" value="{searchBox}" />
<input type="hidden" name="searchcategory" value="{categoryId}" />
<input type="hidden" name="action" value="search" />
</form>
[/globalSearchBox]
[globalSuggestBox]
<form id="instantform" action="?action=instantresponse" method="post">
<input id="ajaxlanguage" name="ajaxlanguage" type="hidden" value="{ajaxlanguage}" />
<input class="inputfield" id="instantfield" type="text" name="search" value="" />
</form>
[/globalSuggestBox]
</div>
<div class="content">
{rightBox}
</div>
</div>
<div class="content" >
<b>CATEGORIES</b>
<div id="categories">
<ul>
{showCategories}
</ul>
</div>
</div>
<div class="content">
<div id="stickyrecords">
<h3>{stickyRecordsHeader}</h3>
<ul>
[stickyRecordsList]
<li><a href="{stickyRecordsUrl}">{stickyRecordsTitle}</a></li>
[/stickyRecordsList]
</ul>
</div>
</div>
<div class="content">
[globalSearchBox]
<form id="search" action="{writeSendAdress}" method="get">
<input type="text" name="search" id="searchfield" size="30" />
<input type="submit" name="submit" value="{searchBox}" />
<input type="hidden" name="searchcategory" value="{categoryId}" />
<input type="hidden" name="action" value="search" />
</form>
[/globalSearchBox]
[globalSuggestBox]
<form id="instantform" action="?action=instantresponse" method="post">
<input id="ajaxlanguage" name="ajaxlanguage" type="hidden" value="{ajaxlanguage}" />
<input class="inputfield" id="instantfield" type="text" name="search" value="" />
</form>
[/globalSuggestBox]
</div>
<div class="content">
{rightBox}
</div>
</div>
Re: search field
Hi,
you have to remove the templae block commands like [globalSearchBox] from it. Then it should work.
bye
Thorsten
you have to remove the templae block commands like [globalSearchBox] from it. Then it should work.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: search field
the search box dont work when i delete the [globalSearchBox]
(because it didn`t understand values between "{}" )
(because it didn`t understand values between "{}" )
Re: search field
Hi,
could you please send me your template folder by e-mail? I'll check it.
bye
Thorsten
could you please send me your template folder by e-mail? I'll check it.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist