I'm trying to create department store style navigation i.e. if you are in a book section of the store the primary left hand nav only shows links to other book sections; if you are in a clothes section the LH nav only shows links to other clothes sections etc.
I'm using V8 so to do this I created custom 'section name only section link' layouts for use with the 'TopLevelSectionLink' selector and set the place of setting to 'section'. The idea was that for all the book sections I'd set the selector to a layout called 'custom books section links' which would only show book section links. Each of the clothes sections would be set to a layout only showing links to other clothes sections and so on for each department.
However, what is happening (and you can see it in the design tree) is that Actinic is daisychaining all the layouts regardless of which section you're in. It looks like this:
With no custom layouts selected anywhere on the site
TopLevelSectionLink =
section name only section link (the Actinic default layout)
If I then go to the books section and change the TopLevelSectionLink layout selector to 'custom books section links', the result is
TopLevelSectionLink =
section name only section link
& custom books section links
... in other words my section specific layout + the default Actinic layout. Not my layout instead of the default Actinic layout! This would still be workable if it weren't for the next issue:
If I then go to the clothes section and set the TopLevelSectionLink layout selector to 'custom clothes section links', the result is
TopLevelSectionLink =
section name only section link
& custom books section links
& custom clothes section links
... so that's the Actinic default + the custom layout for this section + the custom layout for any other sections even though I'm not in any of those sections
Am I misunderstanding selectors or missing something somewhere? Surely if I set a layout selector to 'custom books section links' at the section level then in that section only that layout should apply, not that layout + any others that are selected anywhere else in the entire site.
I've tried numerous variations on this now and am hitting a brick wall every time. Whatever I do I cannot seem to customise the primary navigation according to the section you are in. We are trying to create a sort of department store so having section specific primary navigation is going to be vital if we are to avoid having just a huge, all encompassing navigation list on every page.
I had expected this to take me an hour at most but I've now been working on it for 2 days. Help!
I'm using V8 so to do this I created custom 'section name only section link' layouts for use with the 'TopLevelSectionLink' selector and set the place of setting to 'section'. The idea was that for all the book sections I'd set the selector to a layout called 'custom books section links' which would only show book section links. Each of the clothes sections would be set to a layout only showing links to other clothes sections and so on for each department.
However, what is happening (and you can see it in the design tree) is that Actinic is daisychaining all the layouts regardless of which section you're in. It looks like this:
With no custom layouts selected anywhere on the site
TopLevelSectionLink =
section name only section link (the Actinic default layout)
If I then go to the books section and change the TopLevelSectionLink layout selector to 'custom books section links', the result is
TopLevelSectionLink =
section name only section link
& custom books section links
... in other words my section specific layout + the default Actinic layout. Not my layout instead of the default Actinic layout! This would still be workable if it weren't for the next issue:
If I then go to the clothes section and set the TopLevelSectionLink layout selector to 'custom clothes section links', the result is
TopLevelSectionLink =
section name only section link
& custom books section links
& custom clothes section links
... so that's the Actinic default + the custom layout for this section + the custom layout for any other sections even though I'm not in any of those sections
Am I misunderstanding selectors or missing something somewhere? Surely if I set a layout selector to 'custom books section links' at the section level then in that section only that layout should apply, not that layout + any others that are selected anywhere else in the entire site.
I've tried numerous variations on this now and am hitting a brick wall every time. Whatever I do I cannot seem to customise the primary navigation according to the section you are in. We are trying to create a sort of department store so having section specific primary navigation is going to be vital if we are to avoid having just a huge, all encompassing navigation list on every page.
I had expected this to take me an hour at most but I've now been working on it for 2 days. Help!
Comment