I am using drupal 4.7 beta 5.

i have installed nice menu 4.7 module. It works fine on bluemarine theme. But when i use custom theme, the menu is no longer styled by nice menu, but has standard menu view.

can any one help me?

Comments

gwazy’s picture

do you have the correct php codes in your template you should have:

  <?php if (count($secondary_links)) : ?>
    <ul id="secondary">
    <?php foreach ($secondary_links as $link): ?>
      <li><?php print $link?></li>
    <?php endforeach; ?>
    </ul>
  <?php endif; ?>
  
  <?php if (count($primary_links)) : ?>
    <ul id="primary">
    <?php foreach ($primary_links as $link): ?>
      <li><?php print $link?></li>
    <?php endforeach; ?>
    </ul>
  <?php endif; ?>
<?php if ($sidebar_left != ""): ?>
        <?php print $sidebar_left ?>
    <?php endif; ?>  
<?php if ($sidebar_right != ""): ?>
        <?php print $sidebar_right ?>
    <?php endif; ?>

make sure you have these codes in your template, it also maybe that you need to reenable it. if you could give me your sites url and i will take a better look at it and give you more persice list of problems :P

------------------------

Http://www.varanova.vipsite.be/ <-- My soon incoming drupal help site and area to download modules/templates I plan to make.

Renze’s picture

Thx gwazy,

it didn't change the code much, but now it works for me