T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Robert
  2. General Discussion
  3. Wednesday, February 12 2014, 01:43 PM
  4.  Subscribe via email
Hi,
I would love to add a <span></span> inside the <a> element of the menu.

Before <a></a>
After <a><span></span></a>

Where do i find the file to edit and how do i prevent the output to be lost in a update?
Comment
There are no comments made yet.
Jerry Accepted Answer Pending Moderation
0
Votes
Undo
I found my solution on


plugin/system/t3/includes/menu -> megamenu.tpl.php

normal line 292:


$link = "<a class=\"$class\" href=\"{$item->flink}\" $title $dropdown>$icon$linktype $caret$caption</a>";


edited line 292:

$link = "<a class=\"$class\" href=\"{$item->flink}\" $title $dropdown><span>$icon$linktype $caret$caption</span></a>";



this is the CASE 0 for normal links-urls also you need to edit the other two CASES _blank and window.open
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Gardner Luna Accepted Answer Pending Moderation
0
Votes
Undo
Great work Jerry :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.