Skip to main content
8 votes
Accepted

Is it possible to load a newer jQuery version?

Or does Joomla really need the 1.x version? Joomla itself may work mostly fine with newer jQuery versions. The reason it ships with such an old version is compatibility for 3rd party extensions. So ...
Sharky's user avatar
  • 11.7k
6 votes
Accepted

How do I override a Joomla XML?

I bow down to @Lodder experience and assume you cannot overcome this issue by overriding the XML. However, you still have two options: Either edit the original XML file Although, there may be reasons ...
Eoin's user avatar
  • 2,033
4 votes
Accepted

Override blog category location

All you need is just copying these files : .../components/com_content/views/category/tmpl/blog_children.php .../components/com_content/views/category/tmpl/blog_item.php .../components/com_content/...
webchun's user avatar
  • 2,418
3 votes
Accepted

How to add a language pack (or language specific string overrides) to a template?

There are a couple of ways to deal with this. 1. Create a German language ini file for your template. a. Go to languages folder -> EN-GB b. Spot your template's EN-GB language file: e.g. en-GB....
FFrewin's user avatar
  • 19.8k
3 votes

Get contact details from article override

You will firstly need to retrieve the user ID like so: $id = JFactory::getUser()->id; Then get the array of profile data, like so: $profile = JUserHelper::getProfile($id)->profile; You can ...
Lodder's user avatar
  • 26.9k
3 votes
Accepted

Latest articles structured data markup

I would have preferred to just suggest some touch ups to your snippet, but there is too much for me to address in your answer as a comment and I'd rather explain fully. Instead, I'll post this new ...
mickmackusa's user avatar
  • 4,826
3 votes

Launch a module in an article override

The $params variable probably already exists in the override. Try using a different name...such as $moduleParams = array('style' => 'xhtml'); Alsi, note that the title most likely isn't appearing ...
Lodder's user avatar
  • 26.9k
3 votes

Layout override for repeatable subform custom field

This helped me to solve my problem... <?php $fieldX = json_decode($this->item->jcfields[X]->rawvalue, true); ?> where X is the Id of the subform native field A, B, C is the respective ...
Chinecherem Kalu's user avatar
2 votes

Is it possible to override js scripts?

Sometimes the author of your component will provide a way to do such an override, so check the documentation first. If that is not possible, brute force works: I recently solved this problem for ...
Confidant's user avatar
  • 131
2 votes
Accepted

Is it possible to override js scripts?

Yes, and no... Let's start with the "no" - The Joomla core devs have created a way to inject scripts, but no (API) way to remove them. And, "Yes" , but it's complicated.... You'll need to create a ...
Michael's user avatar
  • 593
2 votes

How to automatically override template for a list of articles under a specific category?

Just a little update on this : since Joomla 3.8, one can directly choose the Layout in the Menu Item > Articles > Blog That menu item has to be Published of course, but it can be Hidden (also an ...
Woluweb's user avatar
  • 21
2 votes

How to override layout files properly

Just stumbled upon this; the top answer is not correct, and the workaround offered is not needed. As they were posted a long time ago, information was probably not well known at the time. It is the ...
Weeblr's user avatar
  • 51
2 votes
Accepted

How to override an administrator template file that's included on the frontend?

Overrides work based on the way layout files are called. If it is hardcoded with an include, then it is not possible to override it in clean way. I guess that at some level you could override the ...
Anibal's user avatar
  • 7,445
2 votes

How to edit the html code of a custom footer module template override

Your screenshot makes no sense, that's not the right place to override a module. The Joomla footer module (modules\mod_footer) is a simple module that basically outputs some lines of text, and if you ...
johanpw's user avatar
  • 13.3k
2 votes

Get parent category tags in template override

I did not remember how to get the parent category of article item, but to get the tags for current category you can try to use this code: $categoryTags = new JHelperTags; $categoryTags->...
Dmitrijs Rekuns's user avatar
2 votes

Get Category intro image in the index.php

Knowing a tiny bit about the joomla request-reponse lifecycle will help here. Joomla runs in the following order: 1. bootstrap the application 2. router 3. component (including your own layout ...
jamesgarrett's user avatar
  • 3,329
2 votes

Override Global CSS within Article

There are a lot of resources in this site about overriding CSS. Depending on your template and overall site/page configuration, you might be able to just do this by using a unique css selector that ...
FFrewin's user avatar
  • 19.8k
2 votes

How to add a language pack (or language specific string overrides) to a template?

So, in my case it was that the strings were hard-coded into the template through the inclusion of a single language pack in the template language folder for English. What I did was to create my own ...
nizz0k's user avatar
  • 537
2 votes
Accepted

Active menu items on page scroll with fullpage.js

You need to override the output of your menu module. Assuming you are using the Joomla core mod_menu, then: Copy the default.php from modules/mod_menu/tmpl/ Paste it to templates/YOUR_TEMPLATE/html/...
FFrewin's user avatar
  • 19.8k
2 votes

Tagged items blog layout

This is now a core feature in Joomla 3.8, i.e. filtering articles category blog layout with tags.
FishEagle's user avatar
2 votes
Accepted

Where to place the file for user registration form

The format of the first one is correct, but I am guessing the template name is wrong. Generally YOOtheme names them yoo_name, so double check that. /templates/yoo_templatename/html/com_users/...
YellowWebMonkey's user avatar
2 votes

Joomla - Custom fields in Backend - Template override

Custom Fields are added to forms by System - Fields plugin. Before doing template override I suggest checking out Field Groups feature. Each field group has its own fieldset which results in a ...
Sharky's user avatar
  • 11.7k
2 votes
Accepted

Override output for repeatable custom fields

Here is the solution I came up with for my question: $programs = $fields['programs']->rawvalue; $class = $fields['programs']->params->get('render_class'); $items = json_decode($programs, ...
Mike Hermary's user avatar
2 votes

Language Override Include Site Details

You could probably only create such dynamic language strings with a custom plugin. You will probably need a system plugin that is triggered by the event onBeforeRender or onAfterRender. When that ...
pe7er's user avatar
  • 2,068
2 votes
Accepted

Custom module best practices. JS inside template file or not?

Adding stylesheets, scripts and declaring php vars is all done inside the main mod_mygallery.php file This is bad. Styles and scripts should be added in layout files to allow overriding with ease. ...
Sharky's user avatar
  • 11.7k
2 votes
Accepted

Display articles Tags in Tag View

The problem is that you haven't captured the tags associated with the article. The tags aren't held in the same table as the article data, so they need special code in order to be included. If you ...
Robbie Jackson's user avatar
2 votes

Share code between component templates

Joomla Layouts can be used to share common parts of a View between multiple files. A search and some reading on Layouts will mostly be around how to override the Layouts and from a modifying the ...
Irata's user avatar
  • 4,301
2 votes

Share code between component templates

Some time ago, I invented a snippet system for my component which lives in the /tmpl/ folder. I can reuse those snippets and users can still override them using plain old template overrides. Joomla ...
Sven Bluege's user avatar
2 votes

About Joomla 4 Lazy Loading feature

Yes, both images are lazy loaded by default. These images are rendered using layouts/joomla/content/intro_image.php and layouts/joomla/content/full_image.php layouts which in turn use the layouts/...
Sharky's user avatar
  • 11.7k
2 votes
Accepted

Setting template color scheme

I tend to use the default Joomla! template for all my sites (admittedly not commercial sites but NFPs/charities) and I enhance the basic Cassiopeia with a variety of extra colours. In the ...
Glenn Arkell's user avatar

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