Link directly to child menu item?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

Link directly to child menu item?

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Link directly to child menu item?

Post 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...
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Link directly to child menu item?

Post 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".
Post Reply

Return to “Layout and Design (CSS & HTML)”