Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Tutorial 4: Filling text in the search field

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

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

Page: 1
Go to End
Author Topic: 1013 Views
  • xmedeko
    Avatar
    Community Member
    94 Posts

    Tutorial 4: Filling text in the search field Link to this post

    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.

    1013 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.