Re: Force a search at the default.tmpl page?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12449
interpreted = N
texte = >How can one force a search command, Post or url, when someone arrives at your>default home page, i.e. it will display a search result when someone views>the page for the first time without having to hit an enter store button.This is why we invented the whole concept of embedded contexts. It's a way of putting as many different searches (or other things, for that matter) into a single page without requiring the visitor to click hyperlinks to get things to happen.So to put a search into a page, just put something like the following into your page. You can put as many different things like this in there as you want.[search db=xx.db&eqTitledata=CPU] [founditems] [sku], [description], [price]
[/foundItems][/search]And remember you can put form variables into the search parameters, like[search db=xx.db&eqTitledata=[WhatToSearchFor]]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>How can one force a search command, Post or url, when someone arrives at your>default home page, i.e. it will display a search result when someone views>the page for the first time without having to hit an enter store button.This is why we invented the whole concept of embedded contexts. It's a way of putting as many different searches (or other things, for that matter) into a single page without requiring the visitor to click hyperlinks to get things to happen.So to put a search into a page, just put something like the following into your page. You can put as many different things like this in there as you want.[search db=xx.db&eqTitledata=CPU]
[founditems] [sku], [description], [price]
[/foundItems][/search]And remember you can put form variables into the search parameters, like[search db=xx.db&eqTitledata=[WhatToSearchFor]]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
date (2002)
2.0.1 new commands and contexts (1997)
Almost a there but..bye bye NetCloak (1997)
AOL displays strange header info (2000)
RE: E-mailer error codes (1997)
Stop the madness. (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WebCatalog can't find database (1997)
Size issues (2001)
Uploading out of FMP (2001)
Changing Global template settings (2002)
Cold Fusion Buster (1997)
Web Developer Product Awards (1997)
WebCat2: Items xx to xx shown, etc. (1997)
[WebDNA] [listwords] and [index] (2009)
4.0 upgrade and existing webMerchant (2000)
RePost: NAT and the CART (1999)
Why does this not work? (2002)
Is there a max number of fields? (1998)
b12 cannot limit records returned and more. (1997)