Free-Conversant Support / Fixed: SearchField Macro
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search




Subject Fixed: SearchField Macro
Posted 10/5/2002; 4:12 PM by Seth Dillingham
In Response To Re: simpleSearch macro problems (#4876)
Label None. Read 544
<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply

The searchField macro has been fixed.

Old behavior: If no "action" attribute was provided with the macro, it would look for a Query Page to link the form to. If no Query Page was found, it threw a confusing error (which would only appear as a comment in the HTML).

New behavior: If no "action" attribute is provided with the macro, it looks for a QueryPage to link the form to. If no Query Page is found, it looks for an Advanced Query page. (All Free-Conversant sites come with AQP's instead of Query pages.) If no AQP is found, it throws a plain-English error about "not being able to find a Query or Advanced Query page to link to, and no Action attribute was provided with the macro."

Some (many) of you, if you're using a READONLY page template, will probably notice that a search form has magically appeared on your web pages. That's because the macro isn't throwing an error any more, it's working as it's supposed to.

Seth

<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply
ENCLOSURES

None.
REPLIES

None.
TRACKBACKS