Add SPAN to Joomla menu


/ Published in: PHP
Save to your folder(s)

Replace in modules\mod_menu\tmpl\default_component.php


Copy this code and paste it in your HTML
  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;

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.