Author Topic: Quick search customization issue.  (Read 396 times)

onlineservices

  • Veteran Member
  • *****
  • Posts: 249
  • Karma: +0/-0
Quick search customization issue.
« on: January 11, 2018, 01:56:48 PM »
In one of my etano installation, right from the begining the basic search is not working properly. All the fields will be invisible and only the checkbox WITH PHOTO? field is present. So i tried to provide only quick search in a page.  so i generated 3 files. quick.html/quick.css/quick.ph

And pasted the below code
Code: [Select]
<button class="btn btn-main btn-block qsearch-btn" type="button" data-toggle="collapse" data-target="#qsearch" aria-expanded="false" aria-controls="qsearch">
Quick Search
</button>

<div class="collapse pad-m-t" id="qsearch">
<div id="search" class="panel panel-default">
<div class="panel-heading">Quick Search</div>
<div class="panel-body">
<form action="search.php" method="get" id="search-form" class="general-form">
<fieldset>
<input type="hidden" name="st" value="basic" />
<!--loop name="search"-->
<dl id="row_{search.dbfield}" class="{search.class}">
<dt><label>{search.label}:</label></dt>
<dd>{search.field}</dd>
</dl>
<!--/loop name="search"-->
<dl id="row_photo">
<dd><input type="checkbox" name="wphoto" value="1" />with photo?</dd>
</dl>
</fieldset>
<fieldset class="controls text-center">
<dl>
<dd><input id="search-button" type="submit" class="btn btn-main" value="Search" /></dd>
</dl>
</fieldset>
</form>
<script type="text/javascript">
<!--loop name="search"-->
{search.js}
<!--/loop name="search"-->
</script>
</div>
</div>
</div>
<div>

But still i am able to see only the same and looks as below
Quote
:
With photo?

I cant understand in which file which code is missing.

some PHP error log results as follows in

Quote
[11-Jan-2018 08:13:24 America/Denver] PHP Warning:  PHP Startup: OAuth: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
[11-Jan-2018 08:13:24 America/Denver] PHP Warning:  PHP Startup: oci8: Unable to initialize module
Module compiled with module API=20131226
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0


Need Help in this regard.

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3114
  • Karma: +210/-7
    • Maverick Webworks
Re: Quick search customization issue.
« Reply #1 on: January 11, 2018, 03:25:13 PM »
What's in your PHP file?

Make sure this is included:
Code: [Select]
$tpl->set_loop('search',create_search_form($basic_search_fields));
 
 

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

onlineservices

  • Veteran Member
  • *****
  • Posts: 249
  • Karma: +0/-0
Re: Quick search customization issue.
« Reply #2 on: January 13, 2018, 03:19:33 AM »
Thanks to Mr. Maverick.

I uploaded a fresh search.php file and the issue is solved now.

Thanks again for right pin point.