Olaf iLink ha scritto:
Hello,
Hi Olaf,
i was wondering if there is someone on this list who has implemented
faceted navigation in a magnolia website? With faceted navigation i
mean the filtering/drilldown you often see in webshops etc. Here is an
example:
http://www.simile-widgets.org/exhibit/examples/CSAIL-PIs/CSAIL-PIs.html
I am wondering if it's possible to do with magnolia, and what the best
approach would be.
The navigation you would like to implement is "CMS independant", because
it simply uses a little of Javascript with (otionally) XHR calls.
To implement it, a little suggestion:
- use XHR (Ajax calls)
- place an Ajax responder in /docroot folder
- use JSON as data exchange format
- use data module to store your data
- use jQuery / MooTools / Ext (or what are you familiar with) to
simplify the interaction
The only piece of code related to Magnolia is the Ajax responder, I can
suggest to use a custom taglib to retrieve your data and then JSON
utilities to transform it and pass back to the client.
HTH
Matteo
Cheers, Olaf
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------