nolink class with <a>

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
User avatar
kathirsrs
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Tue Mar 13, 2012 4:20 am
Location: Bangalore

nolink class with <a>

Post by kathirsrs » Mon Oct 01, 2012 2:01 pm

Hi

In Joomla 3.0, an empty anchor tag with class="nolink"(ie,<a class="nolink"></a>) is inserted for every ul and li.

Advice me how to remove this.
Thanks,
Kathir

User avatar
graredcr
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Wed Mar 17, 2010 10:46 pm
Location: Barcelona
Contact:

Re: nolink class with <a>

Post by graredcr » Sun Oct 21, 2012 5:22 pm

In your file view.html.php, in function addToolBar, change

JRequest::setVar('hidemainmenu', true);

to

JRequest::setVar('hidemainmenu', false);

Cristian

User avatar
kathirsrs
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Tue Mar 13, 2012 4:20 am
Location: Bangalore

Re: nolink class with <a>

Post by kathirsrs » Mon Oct 22, 2012 3:56 am

Hi graredcr,

Thanks works fine :)
Thanks,
Kathir

[Fixed+Width]
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Oct 27, 2012 9:02 pm
Location: Norway

Re: nolink class with <a>

Post by [Fixed+Width] » Tue Nov 06, 2012 8:02 pm

Well, that work, but the main menu is then showing... I do not want this? Anybody have any other ideas?


Locked

Return to “Templates for Joomla! 3.x”