Page 1 of 1

[SOLVED] how to build a welcome site linking to 2 sites

Posted: Tue Feb 15, 2011 9:31 pm
by Elke
Hi there

I use CMSMS 1.9.3 and I want to build a website with the following structure:
1. Home ("splash page"): Welcome words and links to either "cat breeding" in German, "cat breeding" in English, "dog breeding" in German, "dog breeding" in English
2. Dog breeding German
3. Dog breeding English
4. Cat breeding German
5. Cat breeding English

"Home" will look different from the other sites. Dogs German and English can use the same template and CSS, same with Cats.

I can build those pages using different templates - no problem. So the look is fine. But my problem is the navigation. All navigation points appear on all pages. I tried the tag "start_item" in {menu} but then it shows only the sibblings of the start item and not all the other items on the same level. I am for sure not the first person building such a site, but right now I do not see the solution. I searched the forums and the handbook.
I am not a programmer so please no complex programming solutions.

Thank you for your help!
Elke

Re: how to build a welcome site linking to 2 sites in 2 lang

Posted: Wed Feb 16, 2011 4:11 am
by frankmanl
Hi Elke,
You may use includeprefix="" in your call to the menu items. (see also the info page/module help on the menu manager).
Give your pages an alias starting with a prefix, e.g. g-dog, e-dog, g-cat and e-cat.
Make 2 templates that are identical except for the call to the menu.
In the german template you call the menu as:
{menu ... includeprefix="g-" ...}
In the english template you call it as:
{menu ... includeprefix="e-" ...}

It is important that you give all pages aliases a prefix! So you have to add that manually.

Frank

Re: how to build a welcome site linking to 2 sites in 2 lang

Posted: Wed Feb 16, 2011 7:13 am
by Elke
Thanks Frank!

Now that I read the module help thouroughly, I found this solution, which is easier as I do not have to give a page-alias to every page:

{menu show_root_siblings="1" start_element="2.2.1"}

I was probably too tired yesterday evening... thanks so much!