I’ve spend all morning trying to get this to work. I am using nice menus and the frontpage modules in Drupal for a project at work and I could not for the life of me get the nice menu to work on the newly created frontpage I set up using “full” type of front page.
After hours of banging my head on the desk I’ve figured it out.
<?php
$block = module_invoke(’nice_menus’, ‘block’, ‘view’, 1);
print $block['content'];
?>
Yes that is it. This will print out the contents of the nice menus block. Ugh.
Latest Entries
- Google Street View Car in Duluth
- Uncrappifying your Qwest Modem (if it is a GT-701WG that is)
- Moved Hosts again..
- m night sucksalot
- Our new(ish) hod rod(s) (err… bikes…)
- Seattle Day One
- rentalrundown.com and Seattle trip
- Moving Day
- Mongrel + Nginx: Deploying to a subdirectory
- I’m on Alexa.. no. 1,257,367 world wide..
No Comments
Leave a Comment
trackback address