Quite new to Drupal..
I have installed the Nice Menus Module, it is enable, but I don't know how to use it.. To I have to create a view? I tried enabling it in BLOCKS for Primary Links, and Secondary links, without any success..
Any help is welcome. I run drupal 6
After you install the nice menu module, you can replace the following php line in your page.tpl.php file, and change it from:
<?php print theme('links', $primary_links) ?>
To:
<?php $output['content'] = theme_nice_menu_primary_links(); ?> <?php print $output['content']; ?>
This will theme and print out your primary links appropriately.
Also remember to adjust the cascading sub-links, and make the primary links their immediate parents in the menus section, by indenting them at the correct level accordingly.
If you want to theme the nice menus css file separately, you can copy your nice_menus_default.css file to your theme directory, but also remember to add it to your theme.info so it's picked up by and overrides the default by adding the following line:
stylesheets[all][] = nice_menus_default.css
And put it before the styles.css line.
This will allow you to override the default styles.
This should get you started.
Regards!
On 01/03/2011 21:22, Maxime Alarie wrote:
Quite new to Drupal..
I have installed the Nice Menus Module, it is enable, but I don't know how to use it.. To I have to create a view? I tried enabling it in BLOCKS for Primary Links, and Secondary links, without any success..
Any help is welcome. I run drupal 6
This is one option, but if you don't want to hack the theme do the following:
1. Visit the Site Configurations -> Nice Menus page to control how many Nice Menus blocks are provided.
2. Enable and configure one of the Nice Menus blocks. In the block configuration you get to specify which Menu (e.g. Primary Links/Navigation) will be used as the source and what menu styles etc.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Moses Elias (2) Sent: Tuesday, March 01, 2011 11:43 AM To: support@drupal.org Subject: Re: [support] Nice Menus.. Newbie Question
After you install the nice menu module, you can replace the following php line in your page.tpl.php file, and change it from:
<?php print theme('links', $primary_links) ?>
To:
<?php $output['content'] = theme_nice_menu_primary_links(); ?> <?php print $output['content']; ?>
This will theme and print out your primary links appropriately.
Also remember to adjust the cascading sub-links, and make the primary links their immediate parents in the menus section, by indenting them at the correct level accordingly.
If you want to theme the nice menus css file separately, you can copy your nice_menus_default.css file to your theme directory, but also remember to add it to your theme.info so it's picked up by and overrides the default by adding the following line:
stylesheets[all][] = nice_menus_default.css
And put it before the styles.css line.
This will allow you to override the default styles.
This should get you started.
Regards!
On 01/03/2011 21:22, Maxime Alarie wrote:
Quite new to Drupal..
I have installed the Nice Menus Module, it is enable, but I don't know how to use it.. To I have to create a view? I tried enabling it in BLOCKS for Primary Links, and Secondary links, without any success..
Any help is welcome. I run drupal 6
A couple of blocks called Nice menus ... will be created automatically. Drag the block to a region in your theme like header. It should show your primary links without doing anything else.
Choose a specific primary link (i.e. About Us) in the menu options when updating a page to create a subnav for that primary link.
You'll need work on CSS after that.
*Ryan LeTulle,* Web Developer
personal: bayousoft.com http://www.bayousoft.com twitter: @bayousoft http://twitter.com/bayousoft
http://twitter.com/bayousoft*"Be the change you want to see in the world." * Mahatma Gandhi
On Tue, Mar 1, 2011 at 1:22 PM, Maxime Alarie malarie@processia.com wrote:
Quite new to Drupal..
I have installed the Nice Menus Module, it is enable, but I don’t know how to use it.. To I have to create a view? I tried enabling it in BLOCKS for Primary Links, and Secondary links, without any success..
Any help is welcome. I run drupal 6
-- [ Drupal support list | http://lists.drupal.org/ ]