You are not logged in.
Hello
It’s possible to customize the button that starts the search with css?
you would you give me some suggestions on how to operate?
thanks
Offline
The easiest way I have found is to replace the TXP tag with code similar to this:-
<form id="searchForm" method="get" action="<txp:site_url />search">
<p><input id="searchInput" type="text" name="q" value="" size="25" /><input id="searchButton" type="submit" value="Go" /></p>
</form>
This is similar to the code that the tag outputs but would allow you to add your own style hooks to use in your CSS. Note that I have a separate “search” section so you should adjust the “action” attribute to suit your site.
Last edited by thebombsite (2008-11-07 23:48:20)
Stuart – The Bombsite – ProText Themes – Textgarden
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Thanks for your advice
I solved the problem
compliments for your website that is very interesting
bye
Offline
Dears
In this code… How do I indicate the specific form I want to use for the results ?
Thanks
Offline
You put a searchform="form name" in your article tag
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Online
Hi, but when I use the html-code instead of the txp-search-tag…i can not show the word, the person typed in, on the search results page??!
Offline
Hi guys! How i can put my image button instead of button value “go” ?
<txp:txp_me />
Offline
Katalonian wrote:
Hi guys! How i can put my image button instead of button value “go” ?
<input type="image" src="/foo/bar.png" />Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />
Online
jQuery UI is a good way of styling buttons, the bonus being someone else has done all the legwork in getting buttons to display identically in a wide selection of browsers…
Offline
Guys, i created a search page from this tutor:
Search with Textpattern
<div class=“search_blocks”>
<div class=“search_block”>
<div class=“search_topic”><txp:search_result_title /></div>
<div><txp:search_result_excerpt /></div>
<div class=“search_link”><txp:search_result_url /></div>
</div>
How to do?
Last edited by Katalonian (2010-06-23 09:19:47)
<txp:txp_me />
Offline