Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 12th, 2013, 04:41 PM
affiliater affiliater is offline
 
Join Date: Jan 2013
Posts: 72
Default Change theme search box to DF search

Hi
In my store i have a nice looking search box built in to the theme. Is there a way to use that search box for DF product search?

This is my header.php code for the search box:

PHP Code:
            <div id="search_blimp">
              <div class="front"><img src="<?php echo get_template_directory_uri();?>/images/search_blimp.png" width="213" height="63" alt="Search" /></div>
              <div class="middle">
               <form action="<?php echo get_option('home'); ?>/" method="get">
                <div class="button">
                  <input name="search_button" type="image" src="<?php echo get_template_directory_uri();?>/images/button_search.gif" title="Search" style="border:0 !important;margin:0 !important;padding:0 !important;"/>
                </div>
                <div class="field">
                  <input name="s" type="text" />
                </div>
                </form>
              </div>
              <div class="tail"></div>
            </div>
            <!--end search blimp-->
Thanks!
  #2  
Old February 12th, 2013, 05:47 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Sure, that's possible.

Replace this:
HTML Code:
<form action="<?php echo get_option('home'); ?>/" method="get">
With this:
HTML Code:
<form action="/store/search/" method="get">
And replace this:
HTML Code:
<input name="s" type="text" />
With this:
HTML Code:
<input name="word" type="text" />
That should do it.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change language in search results? daniel_28 Questions 3 July 12th, 2012 08:48 AM
Dfr search as theme search digitalcow Questions 1 July 4th, 2012 11:53 AM
Theme vs Datafeedr Search bultpruf Questions 2 December 13th, 2011 12:41 PM


All times are GMT -5. The time now is 01:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.