Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Move left navigation construction out of the template #26

Merged

Conversation

thewilkybarkid
Copy link
Contributor

The current way of constructing the left-hand navigation doesn't always work correctly (see #9 and #11). This change uses the entire menu and then changes it to the structure that we need. Since Drupal has found the items to show (rather than trying to work them out), it then removes the problems (and so fixes #9).

It also handles potential sub menus better (it recognises 'Home' links and handles them appropriately).

(This is a work in progress and isn't ready to be merged.)

@thewilkybarkid thewilkybarkid added this to the 7.x-1.1 milestone Feb 18, 2014
@thewilkybarkid
Copy link
Contributor Author

This is ok for testing now, it appears to work as intended.

@JeebsUK
Copy link
Contributor

JeebsUK commented Mar 28, 2014

Tested fully on Sandbox. One issue with the menus was identified not displaying child pages which has now been rectified. Tested fully down to 4 levels of sub pages and also three levels of sub pages when using the context module.

JeebsUK added a commit that referenced this pull request Mar 28, 2014
[WIP] Move left navigation construction out of the template
@JeebsUK JeebsUK merged commit e0b7583 into misd-service-development:master Mar 28, 2014
@thewilkybarkid thewilkybarkid deleted the left-navigation branch April 9, 2014 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Path alias changes can lead to phantom left-hand menu items
2 participants