Print Drupal menu fail with clean url -


i have drupal 7 menu print in muy page.tpl, becouse graphic design restriction no found other way do. each item menu have diferent design. problem when active clean url menu persist not clean url.

my code:

<div clas="menu">   <?php       $menu = menu_load_links("main-menu");      for($i=0; $i<count($menu); $i++)      {   ?>      <a href="<?php print $menu[$i]['link_path']; ?>" /><?php print $menu[$i]["link_title"]; ?></a>   <?php        }   ?> </div> 


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -