Jump to:

5514 Posts in 1733 Topics by 1219 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Searching/sorting content

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

Page: 1
Go to End
Author Topic: 903 Views
  • DanStephenson
    Avatar
    Community Member
    115 Posts

    Searching/sorting content Link to this post

    Hi everyone,

    I have a client who wants me to be able to replicate this kind of functionality: http://ccaa.bz/directory.php

    Can anyone tell me how this can be achieved using SS's built in search tools? I am considering using the DataObjectManager (unless someone has a better suggestion). Does DOM come with these kind of filtering/sorting functions? Anyone have a tutorial or recipe I could follow?

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Searching/sorting content Link to this post

    You can use the features of the DataObject::get() method. http://doc.silverstripe.com/doku.php?id=dataobject

    There you can use the SQL parameters we normally use such as WHERE, JOIN, ORDER, etc.

    903 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.