• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Four "sites" within one site
PostPosted: Wed Mar 17, 2010 1:05 am 
Offline
New Member

Joined: Wed Mar 17, 2010 12:45 am
Posts: 2
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.


Top
 Profile  
 
 Post subject: Re: Four "sites" within one site
PostPosted: Wed Mar 17, 2010 1:27 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Feb 02, 2007 4:31 pm
Posts: 2396
Location: Comox Valley, BC
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

_________________
Come play in the Sandbox at my CMS Made Simple demo site: http://www.cmsmsdemo.com.


Top
 Profile  
 
 Post subject: Re: Four "sites" within one site
PostPosted: Wed Mar 17, 2010 1:35 am 
Offline
New Member

Joined: Wed Mar 17, 2010 12:45 am
Posts: 2
That worked exactly the way I wanted. I really appreciate your quick reply and your help.

Thank you


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner