Posted By

jmiller on 09/02/09


Tagged

menu links drupal primary


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

umang_nine
variantstudios


Drupal Primary Links


 / Published in: PHP
 

  1. <div id="left">
  2. <ul class="menu">
  3. <?php foreach ($primary_links as $class => $link) {
  4. echo '<li class="' . $class . '"><a href="/' . drupal_get_path_alias($link['href']) . '/">' . $link['title'] . '</a></li>';
  5. } ?>
  6. </ul>
  7. </div>

Report this snippet  

You need to login to post a comment.