4

The issue of multiple H1 tags was introduced because the page I was viewing was showing featured articles. Solution was to make an override of com_contents featured file by changing h1 to h2 in the file script


3

From the call stack it is obvious that a function call fails in vertex cms_core_functions.php, which function tries to load the modules on your page in positions, but instead of 2 arguments, it gets only 1. It expects the modules' $name and $style and it gets only one of them. From PHP 7.1 this is handled as an error. Until PHP 7.1 it was only a warning and ...


2

Gantry5 makes it easy to add HTML/CSS/JS to the head within the Page Settings on the Base Outline (or a specific one). http://docs.gantry.org/gantry5/configure/page-settings#head-properties However, PHP would probably be best into the includes/theme.php file: http://docs.gantry.org/gantry5/advanced/php-functions#overriding-the-themephp-file You might ...


2

In your index.php, you can use the following: <?php $menu = JFactory::getApplication()->getMenu(); ?> <?php if ($menu->getActive() != $menu->getDefault()) : ?> <jdoc:include type="component" /> <?php endif; ?> All this basically does is check if the active menu item doesn't match the default menu item. If it doesn't, ...


1

@Lodder's answer is probably the best one. However, for those who cannot easily change their template, I recommend trying jQuery Profiles to remove unnecessary scripts and try JotCache as it can work with JCH Optimize to handle the caching better. EDIT: https://extensions.joomla.org/extension/jquery-easy-profiles/ Install it and use feature to load the ...


1

Firstly, I'd suggest not using Google PageSpeed, but instead the "Audit" tool build into the Web Developer Tools (uses LightHouse). Simply press "F12" to open the developer tools, then navigate to the "Audit" tab. The problem with pre-made templates is they tend to use massive frameworks such as Bootstrap, UIKit or Foundation. They'll load the entire ...


1

The old and deprecated way is to place MD5SUM file in the asset folder and have it updated whenever an asset file is modified. Once you create the file, add assets without version or with md5sum as version: JHtml::_('stylesheet', 'template.css', array('relative' => true)); JHtml::_('stylesheet', 'template2.css', array('version' => 'md5sum', 'relative' ...


1

Editing the template code directly is not considered best practice as future template updates may overwrite your changes. A better approach might be to use a third party extension. There is likely something suitable in the Joomla Extensions Directory at http://extensions.joomla.org/category/core-enhancements/coding-a-scripts-integration


1

I assume that when you say new menu, you mean a new menu item. If I have understood right what you have done, you have assigned the second template and the login module on that one new menu item that requires login, for which -I also assume- you have set its access level to a non public level, which most likely that would be Registered. See what happens ...


1

Manic day hadn't had a chance to revisit this but I did manage to resolve the issue. The Hadron template actually has a placeholder for the header element called analytics. I was able to utilize the default custom html module to solve the problem. Thanks all for replying. Failing the above solution I most likely would have just ended up building something ...


1

Good question and the "correct answer" as others have commented is that you probably need to use a plugin to do this properly. The RocketTheme "Hadron" Gantry 4 template does allow a custom CSS file but does not provide any feature to include an external CSS or JS file. You could avoid installing a plugin by adding the code via a custom HTML module. You ...


1

Replace hardcoded HTML content with Joomla code. For example, add this to the main content area to render the component and system messages: <jdoc:include type="message" /> <jdoc:include type="component" /> Use this to render the head: <head> <jdoc:include type="head" /> </head> Do not include any other tags within the ...


1

This module is not working with Yootheme you can use alternatives like Latest News Enhanced (free + pro) or Tag Similar (free) Both free versions can do much more than the default Recent Artikel Modul and they work with yootheme Assign the Modul to ALL MENUS Make it Public - even for testing Select the Public Recent NEWS Enhanced Modul in YOO Builder ...


Only top voted, non community-wiki answers of a minimum length are eligible