2011-10-27, 16:01:45
RobA Wrote:That was the whole point of this crazy exercise - in my gallery page http://www.cartocopia.com/portfolio/ I wanted to allow dynamic filtering my map type (selected by custom field). The custom field values from Mike's plugin were visible in the PagesXML array so my gallery page could access them to determine the map types....
I do filtering like this by adding keywords, here e.g. "maps" for all maps pages and a category keyword like "world-maps" for each maps page (using the I18N plugin I have no problem with typing errors, as the keywords field has autocompletion).
Then I can use the I18N Search plugin to return all pages with the appropriate keywords.
Alternatively I put all maps as children of a page, say "maps" and then use the navigation part of the I18N plugin to get all appropriate pages. A more complex example of this can be found here (filtered pages in the sidebar instead of on the page).