Can this be done? A-Z Search index

Permalink 1 user found helpful
I'm currently talking to a school about a new website and this is a feature that they saw on another site while doing a bit of research.

http://www.wm.edu/atoz/a/index.php...

Is this something that can be configured and automated using the core or an existing add-on or is it currently a no-go?

Thanks,
Steve

PassionForCreative
 
mesuva replied on at Permalink Best Answer Reply
mesuva
There isn't something like that built into concrete5 that can do that straight away, but it shouldn't be too difficult to achieve with a modest amount of customisation.

If I had to build that, I'd do it this way:

- Instead of spitting things up into pages, I'd probably just have one list that can be filtered with javascript. This jQuery plugin does just that:http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx...

For a demo, check here:
http://www.ihwy.com/Labs/Demos/Current/jquery-listnav-plugin.aspx...
I'd download and link in that script.

- I'd add to a page a Page List block, configured to display all the pages I want to be in my list. Depending on your site structure, you might be able to use an auto-nav block and skip the next step.

- For the page list block I'd create a custom template that outputs the list of pages as an unordered list (as that is what the jQuery plugin expects).

- I'd then add a custom bit of javascript (in the header or an external file) to trigger the plugin, as per the instructions.

- Finally I'd add my css to style the list navigation, using the example given on the plugin's page as a starting point.

This all comes down to how comfortable you are with getting your hands dirty with scripts and template overrides, but the above is a pretty quick way to do.
PassionForCreative replied on at Permalink Reply
PassionForCreative
That is exactly what I'm looking for and looks (famous last words) pretty easy to set up. Will include some time in my quote for this method.
mesuva replied on at Permalink Reply
mesuva
Can you mark my post as 'best answer'? I love getting karma. :-)
AngusHume replied on at Permalink Reply
AngusHume
I was looking for something like this recently too. I endup up doing a bit of a hack job and just doing A-K and L-Z "folders" with standard page list for each on their parent page, but this looks way more elegant.