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
5answers
46k 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?
20
votes
4answers
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 ...
7
votes
1answer
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 ...
3
votes
3answers
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 ...
3
votes
2answers
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 ...
6
votes
1answer
702 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. ...
5
votes
1answer
133 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 ...
7
votes
2answers
5k 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 ...
5
votes
3answers
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?
3
votes
1answer
544 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 ...
8
votes
1answer
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....
4
votes
3answers
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 ...
2
votes
1answer
120 views

Override JHtml (HTMLHelper) class methods

I'm developing a custom Joomla template and have unset a lot of the core dependencies, such as jQuery and Bootstrap in the template's index.php. The problem now is that the core extensions call some ...
4
votes
1answer
310 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. ...
4
votes
2answers
3k 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?
4
votes
3answers
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 ...
2
votes
2answers
1k views

Joomla! 3.8 - How to hide Publishing Tab in front end

My registered users can log in to see, create and edit only their own articles. This works fine. However, when a user creates or edits an article, the "Publishing" tab appears at the top with "Content"...
6
votes
2answers
906 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 ...
5
votes
1answer
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/...
4
votes
1answer
569 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 ...
3
votes
1answer
478 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/...
2
votes
0answers
33 views

Layout Override shows up as menu Item but not as category layout [duplicate]

I have created a layout override starting from the blog template and added it in mytemplate\html\com_content\category : galleries.php galleries_item.php galleries.xml I can create a new menu item ...
2
votes
1answer
1k views

Joomla - Modifying default category list view (through overrides?)

I'm building a site for a friend and I should state that this is not what I'm doing for living. I just started working with Joomla a few days ago. Everything is good so far, except I'm stuck at one ...
2
votes
2answers
125 views

How to tweak a plugin so it will load below the author?

I use an override of com_content/views/article/tmpl/default.php to display the author name below the article text: <div itemprop="articleBody"> <?php echo $this->item->text;?> <?...
1
vote
2answers
106 views

Override JHtml core function select.radiolist

I want to override the output of the select radiolist. I can hack the core, but I'm not really fond of doing that in relation to updates. So i checked out a system plugin to override the JHTMLselect ...
1
vote
3answers
2k views

Placing two modules side by side

I'm trying to place these two modules side by side. They are in the same position and the proper ordering. I've also created a new module suffix for the width of the modules. Here's the code: .box....
1
vote
1answer
326 views

Cannot redeclare class error with System Override plugin

I'm creating a Core override plugin(for overriding the 3r party extension) using Joomla system plugin. The issue is Cannot redeclare class VirtueMartCart error showing on t3 framework based template. ...
1
vote
1answer
268 views

Joomla 3 plugin to override class JMenuSite

I'm trying to override a class JMenuSite in libraries/cms/menu/site.php. I created a plugin system jmenusite.php <?php defined( '_JEXEC' ) or die( 'Restricted access' ); class plgSystemJmenusite ...
1
vote
1answer
876 views

Overriding a class by custom plugin

Im trying to create a plugin to override a Joomla class, which otherwise is impossible to override. Here are my codes: comoverride.xml <files> <filename plugin="comoverride">...