New answers tagged

0

@Lodder Thanks, but I had tried it and it does not work. After different test I found the solution, maybe is not a best practices but this work. In your index.php In line 20 before <!DOCTYPE html> <?php $menu = $app->getMenu(); $active = $menu->getActive(); $homeactive = $active->home; ?> In the Body: &...


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, ...


0

It appears to me that you want to just show the title of the articles in your blog and not the Introduction Text or the Full text of the Article. If you want the article list to appear in the body of your Homepage then you need to update the Menu Item Type for the Home page and select Articles->Category List. If you want to display a list of the articles ...


0

I ran into this where it couldn't find the template default in spite of the template being exactly where it was supposed to be in the custom MVC component I was developing. In my case it turned out to be because I was extending JViewLegacy and I had my own __construct function but I had forgotten to call parent::__construct() in there so the base view wasn'...


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 ...


Top 50 recent answers are included