On second thought, it might be difficult to get the domain module to work
with the requirement of some sections being "aggregation's of data"
eg. the New Zealand section would need to contain all data from NZ + each
district and town in NZ.

I actually did something very similar on D5 with just taxonomy + views.
In this case all you need is a hierarchical taxonomy with your regions -

-countries
--districts
---towns

Then you create the site as a set of views, each with a taxonomy term
argument and a depth (depending on the depth of the taxonomy above).
So for example blogs would be a view and in a country section you'd have all
blog content from that country + child terms, then a town section would only
contain content from that town.
You can also use a negative depth to get the opposite effect so town section
includes all content from it's parents.


Some other modules used :-

taxonomy_menu - automatically creates a menu based on the taxonomy.
hierarchical_select - useful when you've got large hierarchical taxonomies.
prepopulate - so if you're inside a section and add new content it
automatically sets the taxonomy for the section you're in.
pathauto - hide the ugly term ID from the URL

Lastly, if I had to do it again, I would now probably use pURL [
http://drupal.org/project/purl] to handle the section argument, which is how
Open Atrium handles its Group ID's.

HTH.


On 15 March 2011 10:20, Warwick <[email protected]> wrote:

> Hi Kent
>
> Thanks very much for that. I will follow the progress of your module.
>
> Basically there will be personal blogs, social interactions, job-
> boards and
> articles, etc. And I'd like people logging in from a certain town to
> see
> only that town's content if they select the town they're from or
> currently
> in. Or they can click to get the district's info, or the entire
> country.
>
> Feature-set would expand depending on the success of the project.
>
> Thom would that still work with this module you've recommended do you
> think?
> Have you used it extensively?
>
> Thanks
> Warwick
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
>



-- 
Thom Toogood
+6421608844

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to