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:

Archive /

Our old forums are still available as a read-only archive.

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

Tutorial 4: Filling text in the search field


Go to End


1248 Views

Avatar
xmedeko

Community Member, 94 Posts

25 May 2007 at 3:22pm

Edited: 25/05/2007 11:07pm

Hi,

does this piece of code from Tutorial 4 works?

$searchText = isset($this->Query) ? $this->Query : 'Search';

I have $searchText always 'Search', i.e., $this->Query is never set.