Return to Snippet

Revision: 17389
at April 27, 2011 15:17 by jmiller


Updated Code
<div id="left">
	<ul class="menu">
		<?php foreach ($primary_links as $class => $link) {
			echo '<li class="' . $class . '"><a href="/' . drupal_get_path_alias($link['href']) . '/">' . $link['title'] . '</a></li>';
		} ?>
	</ul>
</div>

Revision: 17388
at September 3, 2009 15:17 by jmiller


Updated Code
<div id="left">
	<ul class="menu">
		<?php foreach ($primary_links as $class => $link) {
			echo '<li calss="' . $class . '"><a href="/' . drupal_get_path_alias($link['href']) . '/">' . $link['title'] . '</a></li>';
		} ?>
	</ul>
</div>

Revision: 17387
at September 2, 2009 17:10 by jmiller


Initial Code
<div id="left">
	<ul class="menu">
		<?php foreach ($primary_links as $id => $link) {
			echo '<li id="' . $id . '"><a href="/' . drupal_get_path_alias($link['href']) . '/">' . $link['title'] . '</a></li>';
		} ?>
	</ul>
</div>

Initial URL

                                

Initial Description

                                

Initial Title
Drupal Primary Links

Initial Tags
links, drupal

Initial Language
PHP