Moving the secondary menu to a block in the drupal Fusion theme
I recently discovered the delights of the Fusion theme, comboed with the Skinrmodule. Very powerful and versatile, should make some theming tasks much easier. I tried creating a subtheme, which was pretty easy to do. One little issue, though; I'm using secondary menu links created as sublinks of the primary menu, and it is displayed at the top of the page. I wanted to move it to the left sidebar, but couldn't find a graceful way to move it to a block.
My solution was to create a tiny module to create the block. I prefer using code rather than adding a block that only lives in the database, since it will run faster and can be version controlled this way.
Here is a link to my Secondary menu block module. You can see the readme and download the code.
bloggity
-
22 Aug 2011
-
21 Jun 2011
-
18 Jun 2011
-
22 Apr 2011
-
22 Apr 2011
Curated Image
Tweeted
- office move completed - not done until the Hammond Organ is in place! http://t.co/oAHEfldn — 3 days 16 hours ago
- so a horse walks into a bar… http://t.co/CXNZwdFi — 4 days 21 hours ago
- He’s actually probably insane http://t.co/P6bGQMKL — 6 days 19 hours ago
- Ernie Kovacs, master of the dada film trailer http://t.co/1Zi09vRC — 1 week 15 hours ago
- backstage with Fred Willard and Martin Mull http://t.co/igpZTXi0 — 1 week 1 day ago
- 1 of 63
- ››

