[pmwiki-users] Clicking Go on search searches for the word Search

wiki question wiki_questions at yahoo.com
Mon Mar 10 12:51:10 CDT 2008


OK, thanks for the explanation -- php is still very new to me
  I must have a glitch somewhere in one of my settings.
   
  When I change the following line in skin-fixflow.tmpl
  <!--markup:(:searchbox  label=$[Go] value=$[Search] focus=true:)-->

  to 
   
    <!--markup:(:searchbox  label=$[Go] value=$[Search] )-->

  It stops replacing my search value with the word "Search"  when I click "Go"
  but I have to delete the word search when performing a seach -- which makes sense based upon your explanation.
   
  I will live with this solution for now
   
   
  Thanks,
  Ben
   
  
Hans <design5 at softflow.co.uk> wrote:
  Monday, March 10, 2008, 5:11:08 PM, wiki question wrote:

> Can anyone point me in the right direction for this?
> Where is the Search box code for the sidebar when using the fixflow skin?

the default sidebar searchbox is coded in the skin's tmpl file:

  




You see it is using wiki markup.
Fixflow use sit's own version of a searchbox, defined in
skins/fixflow/searchbox2.php

The output HTML uses 'onblur' and 'onfocus' javascript events.
'Search' is the default value, and should clear when clicking the box.
Any value entered should be posted when clicking the submit 'Go'
button.
Even with javascript turned off the searchbox should function.


~Hans



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080310/e9e74d7d/attachment.html 


More information about the pmwiki-users mailing list