how to stop loading default menu scripts
Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: 3.50 out of 6 based on 2 vote(s)
- GK User
- Wed Apr 05, 2017 3:10 pm
- Reply with quote
- Report this post
greetings, please support disabling the menu scripts and other css data load for default menu. because of its weeknises in working with big menu structure and its look I decided to load in the menu position other module http://verticalmenu.demo.offlajn.com please advice hiw to avoid loading unused scripts and css from old default gavick menu.
-
- Gold Boarder
- teitbite
- Sat Apr 08, 2017 1:58 pm
- Reply with quote
- Report this post
Hi
Script and styles are dedicated to a html structure, so it will not affect any module You will use instead. This means it's not neccessary to remove them, but if You wish delete lines:
from /layouts/blocks/head.php
Script and styles are dedicated to a html structure, so it will not affect any module You will use instead. This means it's not neccessary to remove them, but if You wish delete lines:
- Code: Select all
$this->API->addCSS($this->API->URLtemplate() . '/css/menu/menu.css');
$this->API->addJS($this->API->URLtemplate() . '/js/gk.menu.js');
from /layouts/blocks/head.php
-
- Moderator
2 posts
• Page 1 of 1