Page 1 of 1

Keep 2nd level expanded

Posted: Tue Dec 22, 2009 2:33 pm
by rayr
I have the Collapso Show Tree = true set in the site but find any subsections collapse once the page in the sub section link is open.
Can these be subsection elements of the menu be kept expanded?

Re: Keep 2nd level expanded

Posted: Tue Dec 22, 2009 2:37 pm
by norman
Can you post an URL so I can see what's happening?

Re: Keep 2nd level expanded

Posted: Tue Dec 22, 2009 5:13 pm
by rayr
hi Norman,

See - http://www.neobium.net/eogbdev/acatalog/

Expand any item with + and the menu collapses once the page is shown.

thanks
Ray

Re: Keep 2nd level expanded

Posted: Tue Dec 22, 2009 5:48 pm
by norman
Hmm... Actinic doesn't seem to be correctly generating the ParentSectionList as asked by code near the bottom of the Collapso-5 Menu layout.

This seems to be a test site, so it may help if you could try adding some diagnostic code. In your overall layout, look for:

Code: Select all

<actinic:variable name="Collapso-5 Dynamic Menu" />
After it add:

Code: Select all

<actinic:block type="ParentSectionList">
	<br/><actinic:variable name="SectionName" />
</actinic:block>
This is a simple block that should list the breadcrumb trail of Sections. They'll display under the Collapso Menu. If you only see one entry when in a sub or sub-sub section then Actinic is misbehaving. Let me know when the site is updated with this code and I'll have another look.

Re: Keep 2nd level expanded

Posted: Tue Dec 22, 2009 6:32 pm
by rayr
Hi Norman,

done, i think.

Ray

Re: Keep 2nd level expanded

Posted: Tue Dec 22, 2009 6:40 pm
by norman
Only one item is appearing, regardless of Section depth. You should see exactly the same stuff as displayed in the breadcrumb trail.

As you can see the block of code is simple and standard Actinic stuff. I've no explanation as to why this is happening, other than Actinic being broken.

The only other thing to double-check is that you've put this (and the Collapso-5 Menu line) in your Overall Layout and not inside some sub-layout. If that's not it, I'm stumped.

Re: Keep 2nd level expanded

Posted: Tue Dec 22, 2009 10:49 pm
by norman
Thinking further on this. It looks very much like you've put the line

<actinic:variable name="Collapso-5 Dynamic Menu" />

inside the existing Actinic LHS menu. You should have replaced the line that calls the Actinic default menu with the above, not put it inside the Actinic sub-layout.

Re: Keep 2nd level expanded

Posted: Wed Dec 23, 2009 4:35 pm
by rayr
Hi Norman,

You are correct again, my mistake, problem solved.
Many thanks for swift replies.

Ray