21285 Posts in 5732 Topics by 2602 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
9 April 2010 at 1:54am
I'm still wrapping my head around Silverstripe but LOVE it so far. There are a few conventions that still elude me and I could use some help.
I'm trying to create a search function that will be on most of my pages that allows a site visitor to search the forum member list based on a few criteria ( lets use country and Occupation as an example ).
I've looked through the docs, google'd tutorials, scanned the forum code itself & searched the forums but honestly it's left me more confused & with dead links than anything else.
Any help or code examples in the right direction would be greatly appreciated!
9 April 2010 at 6:38pm Last edited: 9 April 2010 6:38pm
9 April 2010 at 6:38pm
9 April 2010 at 8:42pm
thats very simple
if you can get the get the latest member then certainly you can search all the forum members
$forumGroupID = (int) DataObject::get_one('Group', "Code = 'forum-members'")->ID;
"GroupID = '$forumGroupID'",
'LEFT JOIN Group_Members ON Member.ID = Group_Members.MemberID'
this should work
|Go to Top|