Search Page Attribute and show list of results?
Permalink
All,
I am trying to build a neat looking 'People' page for my website - I have now created an individual page for each Person and created a custom 'Attribute' called "Department", each person can then be added to one or multiple 'Departments'.
I now want to build the central People page and have already built code which loops through the available 'Departments' - I'd like the user to be able to click a 'Department' and to show them a list of matching People pages (Page Title) which once clicked takes the user to the specific C5 page.
Can anyone guide me on how to achieve this?
I am trying to build a neat looking 'People' page for my website - I have now created an individual page for each Person and created a custom 'Attribute' called "Department", each person can then be added to one or multiple 'Departments'.
I now want to build the central People page and have already built code which loops through the available 'Departments' - I'd like the user to be able to click a 'Department' and to show them a list of matching People pages (Page Title) which once clicked takes the user to the specific C5 page.
Can anyone guide me on how to achieve this?
Thanks, we've already got that module but it isn't particularly flexible in presentation or how the results are displayed. Rather than customising it, I am wondering if it would be easier to simply write something from scratch?
For flexible list presentation, Have a look at my Uber-List addon:
http://www.concrete5.org/marketplace/addons/uber-list/...
With it you can use a stack or html fragment as a template for each listed item.
It also requires Magic Data to both make the list and to provide item data to teh template.
http://www.concrete5.org/marketplace/addons/magic-data/...
This can be turned into an AJAX dynamic search through using Blocks by AJAX to intercept a form and then Uber-List can show a list filtered by the form values.
http://www.concrete5.org/marketplace/addons/blocks-by-ajax/...
http://www.concrete5.org/marketplace/addons/uber-list/...
With it you can use a stack or html fragment as a template for each listed item.
It also requires Magic Data to both make the list and to provide item data to teh template.
http://www.concrete5.org/marketplace/addons/magic-data/...
This can be turned into an AJAX dynamic search through using Blocks by AJAX to intercept a form and then Uber-List can show a list filtered by the form values.
http://www.concrete5.org/marketplace/addons/blocks-by-ajax/...
http://www.concrete5.org/marketplace/addons/page-list-plus/...