Keep 2nd level expanded

Expanding / Collapsing, search engine friendly, Section menu.
Post Reply
rayr
Posts: 5
Joined: Tue Dec 22, 2009 2:29 pm

Keep 2nd level expanded

Post 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?
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Keep 2nd level expanded

Post by norman »

Can you post an URL so I can see what's happening?
Norman
rayr
Posts: 5
Joined: Tue Dec 22, 2009 2:29 pm

Re: Keep 2nd level expanded

Post 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
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Keep 2nd level expanded

Post 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.
Norman
rayr
Posts: 5
Joined: Tue Dec 22, 2009 2:29 pm

Re: Keep 2nd level expanded

Post by rayr »

Hi Norman,

done, i think.

Ray
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Keep 2nd level expanded

Post 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.
Norman
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Re: Keep 2nd level expanded

Post 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.
Norman
rayr
Posts: 5
Joined: Tue Dec 22, 2009 2:29 pm

Re: Keep 2nd level expanded

Post by rayr »

Hi Norman,

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

Ray
Post Reply