Page 1 of 1

Link directly to child menu item?

Posted: Thu Sep 18, 2008 4:02 pm
by deejmer
I have a quick question regarding an implementation of a main nav / sub nav structure.

I have the following structure:

Main nav {menu template=”x” number_of_levels="1"}
Link 1
Link 2
Link 3
Link 4

I have subpages of Link 3 showing in a sub menu on a different template, that display like this:

Sub nav {menu template=”y” start_level="2"}
Link 3.1
Link 3.2
Link 3.3


The problem is, when a user clicks Link 3 from the main template, I do not want them to see any actual Link 3 content.  Instead, I want them to be brought directly to Link 3.1 content.

Is there a way to do this using menu module parameters or some slick Smarty logic?  I could of course make my main nav static and link manually to Link 3.1, but would prefer to keep it dynamic for future expansion.

Please let me know if you can help.

Thanks all!

Re: Link directly to child menu item?

Posted: Sat Sep 20, 2008 7:09 pm
by Dr.CSS
Page 3 will have to be Content Type: internal link linking to next page...

I'll never understand why ppl. want to do this...

Re: Link directly to child menu item?

Posted: Sun Sep 21, 2008 9:55 am
by KO
Sometimes I've been looking for this but the only solution that I know of is what Mark suggested.

One place you would like to do this is if you have i.e. product on main navigation.

1 Product name

If first page is an overview of product then you might have technical details, specifications, manuals, downloads, pictures, whatever... for that product. And you propably want those to be at same level on navigation as overview of that product.

1.1 Overview
1.2 Technical details
1.3 Specs
1.4 Manuals
1.5 Downloads
...

But you don't want all those to be on same level as product name on navigation. Or you don't want to click another time to see that overview.

It's not difficult to do that link or understand the reasons behind CMSms for someone knowing it but someone who don't ..."editors" usually ask... "why can't you do it automatically".