[support] Nice Menus.. Newbie Question

Metzler, David metzlerd at evergreen.edu
Wed Mar 2 16:52:45 UTC 2011


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 at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Moses Elias (2)
Sent: Tuesday, March 01, 2011 11:43 AM
To: support at 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 

	

	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110302/337b8e3c/attachment.html 


More information about the support mailing list