Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Searching fields in the table

Go to End



Community Member, 128 Posts

20 March 2009 at 2:41am

According to post SilverStripe cannot search fields different from Title and Content. However it was in October 2008 before SilverStripe was released. Is it possible now?

In particular, if there is a StaffPage (and the corresponding table) with fields firstname, lastname, office, position,...

is it possible search by lastname?

Thank you in advance



PS Sure one can write external php script directly searching database and embed it through iframes. However one should be careful with iframes since 1) then external link will lead to the alien page but it will appear as enveloped in SilverStripe which could lead to confusion

2) link back to the site leads to "double envelope" (and may be eventually to multiple envelopes).

The only remedy is to use all links in <iframe> </iframe> to be forced open in new window