Search Functionality

I am trying to include search functionality for my radiant install and
have
installed the Search extension to see what it can do. However, I don’t
think it’s quite complete or something is very wrong. It loads the
extension and it shows up in the Admin Extensions list just fine, but I
can’t get it to recognize the <r:search> tag. I’ve restarted the server
several times, using both WEBrick and Mongrel, and poured through the
log
files - nowhere does anything mention “Search” at all. :frowning: I did the
Make
Your Own Link Roll Extension tutorial and it works great so I don’t
think my
extension system is broken. Can anyone give my any tips. Sean?

Thanx!
Richard

Hmmm…OK now I kinda see whats going on. The extension dynamically
creates
a new page object called “Search”. So to use it you have to create a
new
page of type “Search” and then include the <r:search:???> tags there.
Hmmm…now how do the tags work?

Later…
Richard

OK now I have it working. Basically, you create a Search page and use
something like this as the body:

===================================== SNIP

<r:search:empty>

Nothing found for "". Maybe you should try again.

<r:search:results>
Found the following pages that contain “<r:search:query/>”.

  • - -

===================================== SNIP

Now, how can I update the README file to include this so the next
schmuck
doesn’t have to go through this? :slight_smile:

Thanx!
Richard

Richard,

Submit a patch to the Trac (dev.radiantcms.org) and we’ll get it fixed
right away.

Sean