Active
Project:
BlueMasters
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
13 Sep 2011 at 00:19 UTC
Updated:
13 Sep 2011 at 08:41 UTC
I love this theme and its css dropdown menu. However, I have another custom menu module, which allows me to put my own html and other content into the dropdowns. I'm trying to replace your menu with this one. Here is what I've tried so far.
The template.php file was nearly empty... No variables. Just a page slideshow javascript. So now that I tried to preprocess my megamenu, it looks like this...
/**
* Add javascript files for front-page jquery slideshow.
*/
if (drupal_is_front_page()) {
drupal_add_js(drupal_get_path('theme', 'bluemasters') . '/js/bluemasters.js');
}
/**
* Use Mega_menu.
*/
function bluemasters_preprocess_page(&$vars) {
$vars['main_menu_links'] = theme('megamenu_main_menu');
}
And my page.tpl.php looks like this. (I think this is the relevant code)
I have the custom menu module installed. But Its not working. What am I doing wrong?
Comments
Comment #1
skounis commentedHello malbone
Try to replace this code as you already mentioned, at page.tpl.php and page--front.tpl.php
with the default main-menu printing
Comment #2
gtsopour commentedHello malbone again
I tried to reply to your support request sent to support@morethanthemes.com, but i would like to inform you that i received the message "Delivery to the following recipient failed permanently: michael@malbone.net".
Thanks
/George
Comment #2.0
gtsopour commentedfixed typo