Page 1 of 1

Access on page from different menues

Posted: Sun May 24, 2015 1:51 pm
by seitenzeit
How can the same page be displayed in different menues?

Let's assume I have two menues, A and B with entries
A1, A2, A3, A4, A5 and
B1, B2, A3, B4, B5

As you can see, I want ONE page (A3) to be displayed in TWO different menues.

What I tried was to create page "B3" with content type "Internal Page Link" and "Destination Page" pointing to A3. (I also tried "Redirecting Link" with the URL set accordingly)

Both works fine: the original content page A3 is shown when clicking the entry in menu B. Except that the menue also changes from B to A, as A is the "correct" parent.

Changing the Target in the Options did work. "_blank" opens A3 in as expected in a new window, but this is not the desired behaviour. "_self" and "_parent" didn't work, too.

Of course I could copy the orginal content from A to B, but probably somebody knows a more elegant way to avoid duplicates?

Re: Access on page from different menues

Posted: Sun May 24, 2015 5:46 pm
by Dr.CSS
An internal link would work, it will link from b to a but you say you tried that so the question is, what are you really trying to do..?

more info = more help

Re: Access on page from different menues

Posted: Sun May 24, 2015 7:42 pm
by velden
What you want to do isn't really possible in cmsms.

A page only has one position in the hierarchy tree.

So, you could indeed copy the page.
Or link content from the source page into the target page.
Module CGSimpleSmarty has a method which can do that for you (read module's help), however, you need to set it up yourself.

Re: Access on page from different menues

Posted: Mon May 25, 2015 12:26 am
by paulbaker
Or another way: in each page which contains the same content, have just a call to a single global content block and edit the contents in Content > Global Content Blocks.

Re: Access on page from different menues

Posted: Mon May 25, 2015 9:30 am
by seitenzeit
Thank you for your quick and helpful answers!

I'll have a look at CGSimpleSmarty later, as it seems to have additional useful features. And using global content blocks is also very clever (but as there are >60 pages with about 20 of them "double", it would mess up the clarity of the site's structure).

BTW: In the plain installation of CMS made simple, clicking on a "news" entry doesn't change the menu but diplays the content of the news in the currently open window (because news are not part of the hirarchy tree, I assum). Maybe this mechanism could be used, too.

For now, I will copy the affected pages and hope that their content won't change too often...

Re: Access on page from different menues

Posted: Mon May 25, 2015 10:09 am
by Jo Morg