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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -