Dynamic filter and search with CGUserDirectory?
Posted: Wed Feb 04, 2015 2:49 pm
I would like to get your opinion on the following: I want to implement "dynamic" filter/search/sort options for a CGUserDirectory listing. E.g. a drop down, with different sort options. I thought about doing the filtering/searching/sorting with JQuery client-side. Accordingly I first would have to get the user data myself out of the DB. I found this page that explains how to do DB queries in CMSMS: http://www.denisvlasov.net/157/database ... de-simple/
So I would actually not use the CGUserDirectory functions.
Does this make sense to you? Is there a better way? Is there a module that facilitates access to the DB, instead of working with $gCms? Could this be achieved with CGUserDirectory directly?
Any input welcome!
So I would actually not use the CGUserDirectory functions.
Does this make sense to you? Is there a better way? Is there a module that facilitates access to the DB, instead of working with $gCms? Could this be achieved with CGUserDirectory directly?
Any input welcome!