Posted By

vyatka on 10/19/11


Tagged

menu joomla span 17


Versions (?)

Add SPAN to Joomla menu


 / Published in: PHP
 

URL: http://joomlaforum.ru/index.php/topic,182213.msg977167.html#msg977167

Replace in modules\modmenu\tmpl\defaultcomponent.php

  1. case 0:
  2. ?><a <?php echo $class; ?>href="<?php echo $item->flink; ?>" <?php echo $title; ?>><?php echo $linktype; ?></a><?php
  3. break;
  4.  
  5.  
  6. / replace with
  7.  
  8. case 0:
  9. ?><a <?php echo $class; ?>href="<?php echo $item->flink; ?>" <?php echo $title; ?>><span><?php echo $linktype; ?></span></a><?php
  10. break;

Report this snippet  

You need to login to post a comment.