Special menu (redirecting to the 1st sub-page)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

Special menu (redirecting to the 1st sub-page)

Post by jsmonzani »

Hello everyone! :)

I need some help for a left-sided vertical menu.
Say we have something like this

1.  A
1.1 B
2.  C
2.1  D
2.2  E

The behaviour that my client asked me for is that whenever I click on A or C, the next sub-page is automatically displayed, that is B (for A) or D (for C).

The easiest solution that is see is to hack the menu system so that B's link is attached to A. I was just wondering if someone had already done it.

Thank you!
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
cyberman

Re: Special menu (redirecting to the 1st sub-page)

Post by cyberman »

jsmonzani wrote: The easiest solution that is see is to hack the menu system so that B's link is attached to A.
A hack is never the easiest solution  8).

Try this - open page B in your browser (frontend) and copy URL, change content type from page A to link and paste the copied link there, set target to _self.

That's all ...
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

Re: Special menu (redirecting to the 1st sub-page)

Post by jsmonzani »

Hehe, that's a good idea, thank you :)
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Special menu (redirecting to the 1st sub-page)

Post by Dr.CSS »

Seen this ? before and never understood Why any one would want this instead of just making A have the content of B and just call it as a page...
jsmonzani
Forum Members
Forum Members
Posts: 54
Joined: Mon Apr 03, 2006 10:58 am

Re: Special menu (redirecting to the 1st sub-page)

Post by jsmonzani »

> Seen this ? before and never understood Why any one would want this instead of just making A have the content of B and just call it as a page...

Probably because they have subsections but don't see any relevant text for the main sections.
But I do agree, I found it strange too :)
An approach to mutli-lingual CMSMS using only content blocks:
http://forum.cmsmadesimple.org/index.ph ... 756.0.html
Post Reply

Return to “Modules/Add-Ons”