What is a good approach re structure and modules to be able to render site content based on a location drop down? It is not an option to display all the content via views.
I'm aware of Views Global Filter. This is be good, but it doesn't work against nodes for one. Therefor only addresses some of the site content.
In principle the user would select from a dropdown a location (custom, based on municipalities). This would then dictate the content presented to that user.
From the admin side, the menus stays the same. One could then create different 'versions' of the same page, each flagged for a specific locality. If the locality doesn't have a corresponding node version, the 'default' node version would be displayed.
Ultimately, I would like to be able to use one dropdown (session stored) that will affect the node content displayed, other views used on different pages and search results.
The translate module is very close, but I don't need the translate functionality, but the rest. Where a few objects are associated to the same url, but rendered depending on the filter.
Example Something like this (-no it's not a multi-council site, just the concept here):
id page name zone -- ---- ---- ---- 1 1 Local Council East 2 1 Local Council West 3 1 Local Council North 4 2 Building permits East 5 2 Building permits West 6 3 Pet Registration East etc...
Home | Local Council | Building | Pets
Therefor, the first page version will be the 'default' and any subsequent ones are then flagged for a zone. If a zone does not have a node with their flag, the default is displayed.
Location offers an option to get a location associated to the node, but how do I track the different 'versions' of the same page to same menu item then? And how do I stop search from giving me every version as a result?
I can see various bits that is getting close, but if some could explain the puzzle pieces please.