Site search field

Hi everybody!
Can i get an action or something to make a site search field like on Actionsforge.com page?
I need a rounded corner field with “search…”.
The basic Freeway “simple site search” action is too simple.

Thanks for the help.
Rudi


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can get this yourself by applying the HTML5 Input Action to a normal text field, and setting the type to “search”. There are also an Action and countless examples of hand-coding on FreewayTalk showing you how to do this.

There’s a couple of things to realize: the HTML5 approach will work on any browser new enough to understand HTML5, so no IE until v 9 or 10. But there’s no real reason to worry, because browsers fall back gracefully to the square-corner text input when they read an input type they don’t understand. The form will still work correctly. Second, just adding the type=search attribute to a field does not create a search engine on your server to handle the requests. The Simple Site Search Action creates a database of your entire Freeway site, stores it in a JavaScript format, and uses it to process search requests and return useful results. The physical look of the field it creates is quite separate from that. You may be able to combine the two Actions to get the brains and the brawn, but I haven’t tried that combination yet. Please do report what you find!

Walter

PS: The search field (and engine) on ActionsForge are not built with either Action, but are hand coded in XHTML and PHP. Because I wrote that site before HTML5 was a thing, I used a JavaScript “polyfill” to add the search styling to the field, and because I went that route, I could use CSS and images to make the field behave just like Safari and a native search field in non-standard browsers. The search engine is using the MySQL database that powers the Forge, so there’s no way I could have used Simple Site Search there, either.

On Aug 9, 2012, at 6:05 AM, Rudolf Marton wrote:

Hi everybody!
Can i get an action or something to make a site search field like on Actionsforge.com page?
I need a rounded corner field with “search…”.
The basic Freeway “simple site search” action is too simple.

Thanks for the help.
Rudi


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter - many thanks for this information. I’ve struggled with getting simple site search to work with the in-line model created for a website. I successfully added both the HTML5 Input Action as well as the Simple Site Search Action to the text field on my master page. I applied the Simple Site Action to my Site Folder. When I created my Search Results Page, I had to delete my footer content, add the Simple Site Action, then re-add the footer content (now an item, not associated with the Master). Although the search results are not visible when I preview the page, they are when I upload and view a test through the Search field created in the Master. I did have to tweak the layout a little to create a compatible look for the Search Results Page, but I’m just satisfied that it worked! It’s out for client review now. Many thanks to you!

Maggie


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Glad to help!

Walter

On Feb 9, 2014, at 3:46 PM, Maggie wrote:

Although the search results are not visible when I preview the page, they are when I upload and view a test through the Search field created in the Master. I did have to tweak the layout a little to create a compatible look for the Search Results Page, but I’m just satisfied that it worked! It’s out for client review now. Many thanks to you!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options