From OKV...

<ul class="toggle-wrapper"><li><a class="toggle-menu" href="#">Meny <span>☰</span></a></li><li><a class="toggle-search" href="#">Sök</a></li></ul>

class: mobile-menu-links

placed in Navigation bar region

CommentFileSizeAuthor
mobile_menu_links.png137.48 KBkreynen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kreynen’s picture

Issue summary: View changes
kreynen’s picture

Issue tags: +cmd-release-blocker

This block needs to be defined and placed in the Navigation bar region by default.

libkuman’s picture

Issue tags: -cmd-release-blocker +cmd-release-blocker cmd
libkuman’s picture

Issue tags: -cmd-release-blocker cmd +cmd-release-blocker, +cmd
kreynen’s picture

Assigned: Unassigned » kreynen
kreynen’s picture

Status: Active » Needs work

After trying the normal hook block in the .theme for an hour and not seeing the block I finally checked to see if that was even possible. According to http://drupal.stackexchange.com/questions/24333/can-i-use-hook-block-inf..., it's not.

Unfortunately blocks can't be generated by themes, so this has to go in a module. I suggest we put it in cm_starter_blocks along with any other blocks we end up needing and enable that starter module by default.

Does that make sense?

kreynen’s picture

The logo and credit blocks we are using are the .profile http://cgit.drupalcode.org/cm_starterkit_easy/tree/cm_starterkit_easy.pr...

We could also put this block in that file.

libkuman’s picture

if there are no shortcoming to the .profile approach, i think its cleaner as it doesn't mean creating a whole new module for just one block

kreynen’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.