5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 797 Views |
-
Searching/sorting content

9 April 2009 at 4:20pm Last edited: 9 April 2009 4:24pm
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?
-
Re: Searching/sorting content

15 April 2009 at 3:04pm
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.
| 797 Views | ||
|
Page:
1
|
Go to Top |

