I have written a first draft for a 'Recent Search Queries' block for trip_search (see patch).

There's lots of work to be done and I have some items on my TODO list I want to implement before this gets submitted, but here's a first version of it.

Please comment of whether this should go into CVS and/or what I can improve.

TIA, Uwe.

CommentFileSizeAuthor
recent_search_queries_block.patch2.46 KBUwe Hermann

Comments

moshe weitzman’s picture

i very much support this idea.

i think the required pemission should be simply 'administer trip_search'. also, i'd like to see all queries go to a dedicated table, instead of doing a regex against watchdog table. then we'd like a table view of recent queries on an admin page.

Arek’s picture

Assigned: Uwe Hermann » Arek

could you write it for drupal 4.6.0? I'm trying to do it by myself but I'm not good in php.....

joel_guesclin’s picture

Assigned: Arek » joel_guesclin

this is a very good idea - in fact it would be good to combine it with extraction from the referrals so that you could get Google searches to show up in the same table.