Questions tagged [overrides]

An override is a file in the Joomla template directory that is loaded instead of the normal core Joomla file.

Filter by
Sorted by
Tagged with
21 votes
5 answers
48k views

How do I override the CSS styles in my template?

When using a free/commercial Joomla template from Template Club X/Y/Z, what is the best way to include my own CSS styles?
  • 13.3k
20 votes
4 answers
6k views

How to override core classes?

Sometimes there is a need to override core classes to get more functionality or to make some core functions work in another way. Is there any way how to override core classes? If it is possible then ...
10 votes
5 answers
665 views

How to keep overrides updated?

As many know, it is possible to override templates, views, modules, components. The main problem is when Joomla! is updated, and the items overriden (in the template folder) get outdated. How do I ...
  • 855
8 votes
1 answer
4k views

Override blog intro image

While trying to override the way the intro images are displayed in blog layout (I want to add a class to the images), I run into this code in templates/MYTEMPLATE/html/com_content/category/blog_item....
  • 13.3k
7 votes
4 answers
2k views

Is it possible to get generator tag removed from Joomla sites without interfering core framework?

Is it possible to get the generator tag removed from Joomla sites without interfering with the core framework. I personally feel this is an irritating aspect of the source code and makes websites ...
7 votes
2 answers
6k views

Best way to override the index.php file from a joomla template

I am using protostar as a template for my 3.3.1 website. I have change the index.php in order to redesign the module positions and to add more of them. I have just updated my website to Joomla 3.3.3 ...
  • 986
7 votes
1 answer
5k views

Override MVC classes in Joomla 3

Is there anyway to override MVC classes in Joomla 3? I have found this thread but it is for Joomla 2.5. How to override core classes? I have done MVC overrides in Joomla 2.5 successfully but now I ...
  • 387
7 votes
1 answer
967 views

How to setup $form->loadFile method properly?

In my system plugin , I am using following to load default options xml file for templates function onContentPrepareForm($form, $data) { if (!($form instanceof JForm)){ $this->_subject-&...
  • 889
6 votes
6 answers
1k views

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

I have created an override for my news category (which works perfectly) and another article override for my news articles as follows // Category Override my_template/html/com_content/category/news....
6 votes
3 answers
6k views

How to customize the look of the admin ISIS template with CSS? ISIS custom.css

I want to customize a bit the look of the ISIS admin template in Joomla 3. Need to add a few custom css for colours, and hide a few elements here and there. What is the best way to do this?
  • 19.6k
6 votes
2 answers
949 views

Override a component view for a specific menu item

How can I override the component view for a specific menu item? For a global overwrite I can use template/html/com_xxx/. But how can I do it only for a specific menu item? Example : Joomla! has a ...
  • 644
6 votes
1 answer
763 views

Can't see alternative layout once i add xml file

I create a file "product.php" in "\templates\beez3\html\com_content\category" I can see it in "alternative layout option" but i can't see it in "menu item type". Then i create a "product.xml" file. ...
6 votes
1 answer
10k views

List articles by Category and Sub-Category

It seems unbelievably difficult to display a list of articles, grouped by their category/subcategory with the category as a sub-heading. The Articles Category module seems to come close as I can ...
  • 297
6 votes
1 answer
247 views

Is it possible to display a list of category "grand children"?

We have our articles organized as shown below - the main Producers category has a subcategory for each Producer, which then has a category for each of their Programs. I've been tinkering with the ...
  • 7,695
5 votes
2 answers
4k views

How to override an extension CSS file

I'm using an extension and would like to make some CSS changes, however I don't want these changes lost when I update the extension. How would I go about performing a CSS override?
  • 26.6k
5 votes
4 answers
5k views

Blog layout - responsive image grid positioning

I use the category blog layout and override it to wrap a link around the article intro-image, which points to the article. Now i want to achieve a responsive image grid positioning like you can see ...
  • 75
5 votes
1 answer
144 views

How to adjust search keyword sanitization settings as language override?

I am working on some custom search plugins and I have a 2-part question regarding the file administrator/components/com_search/helpers/search.php. I want to adjust the sanitization settings without ...
  • 4,543
5 votes
1 answer
1k views

Override com_users model function save

Is it possible to override the com_users save function? This is what I tried so far... <?php echo JPATH_SITE.'/components/com_users/models/profile.php'; require_once JPATH_SITE.'/components/...
  • 303
5 votes
3 answers
2k views

How to show parent category title in featured articles on the home page?

My home page has the featured article view in 3 columns. There are parent categories like news, teledrama and programmes. I want to categorise these featured articles. News articles should be under ...
5 votes
2 answers
917 views

Module Articles Category: How to group articles and order by category order?

I use the Joomla module 'Articles Category' to present articles grouped by category. Under the 'Grouping Options' tab I selected 'Article Grouping -> Category'. But it only provides ordering by title....
  • 71
4 votes
3 answers
2k views

Chrome problem: How to remove the div class=”custom” from a Joomla module

You might also find this question relevant if you are trying to solve "How to stop Joomla modules being wrapped in divs." What's the PROBLEM? When Including a module into Joomla, it gets wrapped in ...
  • 2,330
4 votes
1 answer
343 views

Can't override com_content controller

I'm trying to override com_content controller (administrator/components/com_content/controller.php), for this I have installed the joomla-override plugin and followed as the documentation says. ...
  • 315
4 votes
3 answers
5k views

override modules

Joomla 3.3 - beginner I am creating my first template, and after installing it to be ready for testing. I accidentally clicked on "mod_login" in the "create override" under my template settings. and ...
  • 349
4 votes
3 answers
4k views

Modify Joomla Tags Result Page

I want to show my article intro text and item image with link to the full article in the result page for Joomla Tags. Is there a way to do this, or how can I modify the code to get the expected ...
  • 387
4 votes
1 answer
5k views

Creating multiple layout overrides for category blog layout

I have looked at other questions on this matter, but would like to be clear on what is the 'correct' approach to this. Example: https://stackoverflow.com/questions/13715665/joomla-override-category-...
  • 251
4 votes
2 answers
3k views

How to override a component's controller

I want to override a controller inside a component ie; File path : components/com_test/controllers/test.php how can I override test.php ?
  • 155
4 votes
2 answers
681 views

Can I use HTML overrides to override a file located in /components/administrator/componentname/helper/?

I know these are the core files of the component and I don't want to change them directly. So I'm looking for some way, like OpenCart's VQMod, to create an override, can I use HTML overrides for that ...
  • 677
4 votes
1 answer
174 views

Set Category and Full Article Image

Joomla 3.4.4 I have a single category called 'Departments'. This contains hundreds of articles. Is there any way I can set the same 'Full Article Image' for each of these articles? See image; I ...
  • 3,541
4 votes
2 answers
354 views

Core Component Layout Override with Plugin

Within a plugin I need to add and populate (data is available inside my plugin) a column to com_menus&view=menus view in administration. my_plugin.php ... public function onAfterInitialise() { ...
  • 871
4 votes
1 answer
574 views

How to override Joomla input.php(JFilterInput class)

I want to override JFilterInput class on Joomla. The file is on below path: [Joomla_Path]/libraries/joomla/filter/input.php Because this file developed just for non-Unicode characters.So it shows ...
  • 91
3 votes
3 answers
2k views

Overriding Core Components Model Form XML

I want to change the Field type for the Article's Links, from input text to DropDown List with internal menu items. I am looking for a convenient way to do this with the minimum work. I can't find ...
  • 19.6k
3 votes
3 answers
304 views

Contacts Page 'Alphabet Bar'

Joomla 3.6.5 I would like to display an "Alphabet Bar" on my contacts page, the menu item type is List Contacts in a Category. I have 150 contacts, and they are all in the same category. Currently ...
  • 3,541
3 votes
3 answers
1k views

Hide languages from the Language Switcher

I have a question about the Joomla language switcher module. I would like to hide the option to switch to English language on the website. I can't unpublish the English language because then it says ...
  • 133
3 votes
1 answer
38 views

Adding a new view to built in component (com_tags)

What is the best way of adding a new view to an existing (built-in or 3rd party) component? In the particular case I want to add a better tag view to com_tags. The view in com_tags just lists the ...
  • 73
3 votes
1 answer
2k views

Populate multi select data into the custom list field of form inside user management

I am trying to populate multi selected data on to the user management form below the name field of the user. Here is what I have added inside the form, in order to display multi selected data from db....
3 votes
1 answer
2k views

Overriding the core layout for Featured Articles Component

I am a bit of a Joomla noob, so forgive the question, but I have searched for an answer. I am looking to customize the layout of the featured articles component. However, I do not want to customize ...
  • 251
3 votes
2 answers
3k views

Layout Overrides: Intro Image Link

I have searched everywhere for this answer but I can't find it. I really like the new layout overrides in Joomla 3 but I want to be able to add a link to the intro_image.php file so that when a user ...
3 votes
1 answer
805 views

How to override the mod_k2_tools helper function?

I'm trying to understand how to override the helper.php found in /joomla_site/modules/mod_k2_tools because it is not a component but a module, and it is not the controller, because the controller is ...
  • 215
3 votes
2 answers
8k views

Using custom image flags with language switcher module

I want to display my custom flags images at the language switcher module. How can I replace the default flags of the module?
  • 19.6k
3 votes
2 answers
227 views

How to create two different template overrides for the start page and featured articles?

I'm new to Joomla and currently creating a template for my website. Unfortunately I'm facing a problem which I did not found out how to solve. I wanted a front page which is different from the rest ...
  • 131
3 votes
1 answer
373 views

How to override a module js file

Is possible override a js file of a module in template? The path of js file is modules/my_module/js/file.js Thank so much!
3 votes
1 answer
1k views

Override language strings from template

Based on this tutorial, I tried to create a template specific language override, trying to be able to override any module or component. Basically, the idea is: Create a file called JOOMLA/templates/...
  • 13.3k
3 votes
1 answer
494 views

Overriding a plugin's non-templated layout files?

I've been trying to figure out how to do this, but nothing seems to really work: I want to override the results/pagination renderers from ZOOFilter which I know is in /plugins/system/zoofilter/...
  • 199
3 votes
1 answer
375 views

Create an Override for reset.php

I am trying to override /components/com_users/models/reset.php I have tried numerous pathways to, but cannot get the site to look at it. Have tried: /templates/TEMPLATE_NAME/html/com_users/reset....
  • 31
3 votes
1 answer
307 views

Joomla 3.6 Core Override

I have developed a custom component for a client and they needed to be able to reuse email addresses for users. As Joomla required unique email addresses, I created a system plugin that fires on the "...
3 votes
2 answers
193 views

Change priority of loading Joomla core class and custom core class overrides

I would like to know in Joomla framework, there is a way to change priority loading some Joomla core classes after using JLoader::register() method in a system plugin developed to override Joomla core ...
  • 91
3 votes
1 answer
599 views

Last Visit Date Override

I am trying to override the Last Visit Date in the admin area of my Joomla 3.4.1 site. I have manually made overrides to the following constants (site and admin) and it's not making any difference ...
  • 3,541
3 votes
1 answer
2k views

How can I translate RokSprocket views?

I'm using RokSprocket (from RocketTheme) to create the layout I want on my website, but it's a multilingual site, and I want to translate some of the strings. I looked for en-GB.mod_roksprocket.ini ...
  • 1,178
2 votes
2 answers
2k views

How to create a custom 404 Error page for every language

I'm looking for a way to have a custom 404 error page that will appear in function of the language of the site. So far I have created my error.php and I put it there : "templates/YourTemplate/error....
2 votes
3 answers
973 views

How do I get the "Most read" module to show only articles within a time range

I am trying to display only the most read content from two months ago. I have tried checking through mod_article_popular/helper.php file but can't figure out how to use the $model->setState to get ...
  • 91