Page 1 of 1

Four "sites" within one site

Posted: Wed Mar 17, 2010 1:05 am
by rod
Hi,

I am new to CMSMS and am trying to accomplish something that I don't know if it is possible.

I have a site with a home page that has a flash map on it to select different locations accross the US. So I have one site that is broken into, say four sites.

I want the ability to show a unique menu on each "site" and I want each of my clients to be able to add and take away items in their menu.

I tried making a template for location 1 and adding this to it
{menu items="location1page1, location1page2"}
also tried
{menu includeprefix="location1page1", location1page2}

And then made a different page template for location 2 and added
{menu items="location2page1, location2page2"}
also tried
{menu includeprefix="location1page1", location1page2}

and that works perfectly but the problem is, I don't want my client to have to go into the HTML every time they add a page and add the page alias to this list. is there a way that i can use the extra1 attribute to give it "location1" and therefore it would appear only in their "site".

therefore my clients only have to add that attribute to the new page as they are adding it and it will then appear in their menu and not in the others.

Re: Four "sites" within one site

Posted: Wed Mar 17, 2010 1:27 am
by Nullig
Why not break your menu down into locations using a Section Header, like this

1 - Location 1 <-- Section Header
    1.1 Page 1
    1.2 Page 2
    1.3 Page 3
    etc.....
2 - Location 2 <-- Section Header
    2.1 Page 1
    2.2 Page 2
    2.3 Page 3
    etc.....
3 - Location 3 <-- Section Header
    3.1 Page 1
    3.2 Page 2
    3.3 Page 3
    etc.....
etc...

Then your menu calls would be:

For location 1 - {menu template='whatever template you use' start_element='1.1' show_root_siblings='1'}
For location 2 - {menu template='whatever template you use' start_element='2.1' show_root_siblings='1'}
For location 3 - {menu template='whatever template you use' start_element='3.1' show_root_siblings='1'}

Nullig

Re: Four "sites" within one site

Posted: Wed Mar 17, 2010 1:35 am
by rod
That worked exactly the way I wanted. I really appreciate your quick reply and your help.

Thank you