Skip to content

Lawtec

Sections
Personal tools
You are here: Home Members antonh's Home Hacking Plone's search form
Document Actions

Hacking Plone's search form

by antonh last modified 07-Sep-06 11:48 AM

Well, I thought it would take a day to create a customised search, including updating the portal_catalog to have new indexes and all - it took 2 hours to learn everything about it, and it will take 10 minutes next time. You add your index, with the same name as the attribute you want to index. You reindex it to pick up your objects thus far created. Then you go to the advanced search form, pick the search field you like the layout of (say the Content Type one if you like checkboxes, Keywords if you want a list box. Use a find and replace to swap in your index name, and that is it! Done.


 


This site conforms to the following standards: