<![CDATA[ Menu to show allways 2nd level item and child - My Forums]]> https://forums.modx.com/thread/?thread=4138 <![CDATA[Menu to show allways 2nd level item and child]]> https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24952 ecastano Apr 11, 2005, 08:36 PM https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24952 <![CDATA[Menu to show allways 2nd level item and child]]> https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24951 Luis Apr 09, 2005, 11:11 PM https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24951 <![CDATA[Menu to show allways 2nd level item and child]]> https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24950
English, Spanish, Chinese ... at the moment

So, Emi, you're not that far off. laugh]]>
Carsten Apr 09, 2005, 03:17 AM https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24950
<![CDATA[Menu to show allways 2nd level item and child]]> https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24949

i wrote my first snippet!!! it's to get the content of a template variable and show in a listing.. similar to the news listing!!! smiley i will post it somewhere after cleaning the code.]]>
ecastano Apr 08, 2005, 11:37 PM https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24949
<![CDATA[Menu to show allways 2nd level item and child]]> https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24948
I'll write up a snippet for you soon to take care of it.]]>
rethrash Apr 08, 2005, 11:28 PM https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24948
<![CDATA[Menu to show allways 2nd level item and child]]> https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24947 http://sabf.itba.edu.ar.

It's a bilingual site (english / spanish, maybe portuguese too).

My site structure is

English
--Section 1
---Subsection 1.1
---Subsection 1.2
----Subsection 1.2.1
----Subsection 1.2.2
--Section 2
---Subsection 2.1
----Subsection 2.1.1
----Subsection 2.1.2
--Section 3
-- bla bla

The same is for Spanish.
Each language is a non published folder, so each Section is in fact a subsection.

I need to show a menu, where the parent link is the section 'x' (2nd level).

Example:
If i'm in Section 1, i need to show section 1 and the subsection 1.x
If i'm in SubSection 1.1, I need to show sectoin 1 and the subsection 1.1 and section 1.2
If i'm in Section 1.2.2, I need to show Sectoin 1, subsecton 1.1, subsection 1.2 and subsection 1.2.1 subsection 1.2.2

Obviously I'm not going to create as many templates as Parent Sections i have. I need to get somehow the second level item wherever i'm and show a menu with that ID as parent.

I'm not going to die if I need to use 2 templates (one for each language).

thanks in advance...

ps: sorry about the explanation, but my english sucks... if someone wants to help me, i could explain this thing again.]]>
ecastano Apr 08, 2005, 09:10 PM https://forums.modx.com/thread/4138/menu-to-show-allways-2nd-level-item-and-child#dis-post-24947