Walter,

When i ported the Search behavior, I thought about making a global tag
for a block of code that would create a search form.  But really in
the end it was easier to write 4-5 lines of HTML than to write a bunch
of Ruby -- just as John demonstrated.  Caveat emptor!

Sean

On 3/28/07, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
> Thanks, this is a very neat solution.
>
> Walter
>
> On Mar 28, 2007, at 7:31 PM, John W. Long wrote:
>
> > Assign the Search page type to your search results page. Then, to use
> > it
> > on other pages, just use normal *HTML* form tags:
> >
> > <form action="/search/" method="get">
> >    <p>
> >      Search:<br />
> >      <input type="text" name="q" />
> >      <input type="submit" value="Go" />
> >    </p>
> > </form>
>
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to