Answer the question
In order to leave comments, you need to log in
How to make a logo unclickable in Joomla without using php?
Hello. The question is how to implement the non-clickability of the logo. That is, there is no link on the main page, but on the internal ones. Curve site on joomla 3. THERE somehow this logo is connected through the modules, and it is built into the top menu. I made a crutch with jQuery
var log = jQuery.noConflict();
log(document).ready(function(){
if (location.href == "http://www.mysite.ru")
{
log(".logo.menu.").html('<img src="/img/logo.png" alt="Главная">');
}
Answer the question
In order to leave comments, you need to log in
Don't do bullshit.
Create a copy of the module, correct the code (without reference).
Link to the same position:
1. For the main page - without a link.
2. In addition to the main page - with a link.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question