Timeline for Print Primary and Secondary Menu Links separately
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:47 | history | edited | CommunityBot |
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
|
|
Feb 19, 2015 at 15:23 | comment | added | wolffer-east | After taking another look at the other question it looks like @Robin answered it as asked. If you have more specific theme questions that dont fit under either of these two questions can you add another question? That way we don't lose the answers to these two questions by changing up the question after the answers have already been given. Thanks! | |
Feb 19, 2015 at 15:13 | comment | added | wolffer-east |
It would be similar. As @Robin mentions using menu block is probably the way to go. Then, once the block is output on the page, you can use the hooks I mentioned above to change the themeing of the menu block being output. You can access those blocks by checking if(isset($element['#bid']['module']) && $element['#bid']['module'] == 'menu_block') , then if you need a specific menu block check $element['#bid']['delta'] == [block delta here] . I will add an answer to the other post to demonstrate adding a toggle to the sidebar menus only.
|
|
Feb 18, 2015 at 17:09 | comment | added | srodrig | Thanks for the feedback. I asked a similar question about showing secondary and tertiary menus of an active parent link to the right. Would the same answer apply? Question is here: drupal.stackexchange.com/questions/146218/… | |
Feb 6, 2015 at 10:07 | comment | added | bloke_zero | This looks like substantially the right approach, I gave an answer to a similar question with a few more details here: drupal.stackexchange.com/questions/145383/… | |
Feb 5, 2015 at 19:53 | history | answered | wolffer-east | CC BY-SA 3.0 |