Automatic menu links
Posted: Mon Mar 26, 2007 5:31 am
I have the following type of menus:
Section 1(link that opens to 1.1)
subsection 1.1(content)
subsection 1.2(content)
Section 2(link that opens to 2.2)
subsection 2.1(content)
subsection 2.2(content)
The problem is that it's always the n.1 subsection I'd like the link to point to.
I think it's possible to manipulate the nodelist object to get me url of the first child page for every Section N, but haven't still figured out how.
Section 1(link that opens to 1.1)
subsection 1.1(content)
subsection 1.2(content)
Section 2(link that opens to 2.2)
subsection 2.1(content)
subsection 2.2(content)
The problem is that it's always the n.1 subsection I'd like the link to point to.
I think it's possible to manipulate the nodelist object to get me url of the first child page for every Section N, but haven't still figured out how.