Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
2 votes
1 answer
992 views

Override blog layout to display articles under subcategory headings

What I'm trying to do is create a category blog layout that will display the title of a category, followed by subcategories with the articles of those subcategories (full article, not just it's title) ...
Annemarie's user avatar
1 vote
2 answers
880 views

Article Alternative Layout not appearing as option

I want to create an alternative layout for an article in Joomla 2.5.16. In my template's override folder I duplicated the current template override file (default.php) and renamed to myarticle.php. But ...
FFrewin's user avatar
  • 19.7k
1 vote
2 answers
193 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 ...
Kuubs's user avatar
  • 345
1 vote
1 answer
4k views

Template Override for Admin Template ISIS

I'm trying to override the Administrator template ISIS in Joomla 3.4. I am simply trying to replace the default Joomla logo's with my company logos so that it's branded for my customers. I want to ...
BradM's user avatar
  • 133
1 vote
3 answers
169 views

Override the scripts.js of a Joomla template

Im working in Joomla! 3.4.8. ...so, how do I override the templates/my_template/scripts.js? ... UPDATE. I'm talking about a frontend template, site template. I bought a template in Themeforest. ...
George Berkeley's user avatar
1 vote
1 answer
300 views

Change the default articles list ordering overriding the model

I need to change the default ordering of the articles list in the administrator Articles page. To do this I probably would have to edit the populateState() method in administrator/components/...
Nintendomi's user avatar
1 vote
2 answers
423 views

Modify CSS class on specific pages

I would like to modify CSS styling to some of my pages, and override the default template styling. By default, I have this class (.article-intro-image) on my template css with some parameters (for ...
Vicent G.'s user avatar
1 vote
1 answer
121 views

Overriding RssRenderer via plugin

I have some issues with overriding the RssRenderer found in /libraries/Src/Document/Renderer/Feed/RssRenderer.php. In the past I have used a plugin to override a select html see topic here: Override ...
Kuubs's user avatar
  • 345
1 vote
1 answer
88 views

Joomla Contact Component - can I change "Miscellaneous Information" to "Bio"?

I don't want my board members bio's to be called miscellaneous information. To avoid that I'm putting bio's in the address field! This is not a good permanent solution. I would like to know if there ...
Edfromzi's user avatar
1 vote
2 answers
62 views

Accented letters are printed in bold type

For some reason accented letters are printed in bold type. An image is worth in thousand words: The page is available at: http://elacebron.dipucuenca.es/index.php/k2/contact I've been trying for ...
MirlvsMaximvs's user avatar
1 vote
1 answer
383 views

Using Link A instead of the title link

I am using the module Articles - Newsflash to show a category of mine, which works just as intended. Now I can see all intro images of the selected articles and also some corresponding text. ...
Rongum's user avatar
  • 31
1 vote
1 answer
974 views

How do I override an .xml file in a Joomla component? [duplicate]

I’d like to override some files (.php and .xml) in /components/com_users/models. Can this even be done? Or should I try and make a modified/renamed copy of com_users? What I am trying to do is: ...
Joe Völker's user avatar
1 vote
1 answer
2k views

Active menu items on page scroll with fullpage.js

I'm using fullpage.js with joomla 3.7.5. I try to put class active on my menu item, when I scroll to the specific section. According to the docs, to let fullPage.js know about the menu, I need to ...
Charis's user avatar
  • 43
1 vote
2 answers
1k views

Override Global CSS within Article

I have one article, where I want to apply different styling to it than what the global is. I tried to add it like so <link rel="stylesheet" type="text/css" href="https:"/ tag at the top of my ...
IcyPopTarts's user avatar
1 vote
1 answer
138 views

Tag List Template Global Setting is Ignored

My goal: change the layout of my front page which is a menu item of the type 'tag list' (or something similar, don't know the precise translation). As usual, I made a file overriding the view template ...
Yorrd's user avatar
  • 165
1 vote
1 answer
981 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">...
Peter's user avatar
  • 325
1 vote
1 answer
633 views

Disabling Joomla Unique Email Functionality

I am tring to override Joomlas function to not allow duplicate email addresses. I know the security issues surrounding this but its I will have to have users with the same email address. My users are ...
Lee Wiggins's user avatar
1 vote
2 answers
1k views

mod_articles_category Override - Adding category link outside of loop

I have a custom layout for mod_articles_category. I am trying to add the Category link outside that this Articles Category item links to, but outside of the loop of $items. I have tried this, but ...
StuartM's user avatar
  • 251
1 vote
1 answer
468 views

Separate custom fields in com_content from the options tab

With a content plugin and the onContentPrepareForm trigger, I inject custom extra fields into article's edit page. The problem is that my Custom Fields Tab binds with the Article's Options Tab (...
FFrewin's user avatar
  • 19.7k
1 vote
1 answer
170 views

How do you extend Content Category

I can create overrides or alternate layouts in template/html/component/ but how can I extend the query based on params in my new layout? How can I extend the model without breaking core?
poproar's user avatar
  • 333
1 vote
2 answers
260 views

Edit category list to show items from a category and its subcategories

I'm trying to modify the Category List of the com_content component via override, so that it shows both the articles of the selected category and its subcategories. I tried to edit the ...
Nintendomi's user avatar
1 vote
1 answer
34 views

What is the recommended way to reproducibly override an administrator layout?

I need to override an administrator layout, and the override needs to be easily reproducible in different Joomla installations. Currently, we are using extensions to achieve reproducibility. However, ...
ThatsJustCheesy's user avatar
1 vote
1 answer
122 views

How to override a link's href attribute in mod_menu?

Better title might be 'How to set the menuItem object 'link' property?' I've used menu overrides for a variety of purposes such as changing layout and styling etc but would now like to change the ...
Xander's user avatar
  • 133
1 vote
1 answer
111 views

How to override language filter plugin?

I'd like to tweak my language filter plugin a bit, and if possible, I'd like to do that as an override. I know how to override some features in Joomla, but I'm not sure what to do in case of a system ...
louisv's user avatar
  • 11
1 vote
1 answer
390 views

Override helper.php on mod_related_item

I want to get the related items of an article order by created and only show the related items that have the same catid. To accomplish that i must change the helper.php code and add this code: $...
JoseSilva's user avatar
  • 113
1 vote
1 answer
29 views

layout overrides working on development server but not on production server

I did a backup (using akeeba) on the development server then used akeeba kickstart to restore from that backup on the production server. Everything from that restoration seems to be working fine, ...
omni's user avatar
  • 101
1 vote
1 answer
385 views

Joomla Search Result Article Text Length: Text is truncated in strange places

I am using the Joomla Search module with a Menu Item pointed to '/search'. When a search is performed, the results list a linked title, a snippet, category and the created date. The snippet is ...
sifu's user avatar
  • 1,105
1 vote
1 answer
86 views

Overriding layouts from your module

I have already copied the renderfield.php and renderlabel.php files from ~/layouts/joomla/form/ to ~/modules/mod_mymodule/layouts/joomla/form but the overrides don't seem to be recognised. I have ...
Anriëtte Myburgh's user avatar
1 vote
1 answer
517 views

List Limit Override

Joomla 3.6.5 I have a menu item type Contacts » List Contacts in a Category. I have 150+ contacts. I would like to override the default list limit on this page only. Currently when the contact page ...
jonboy's user avatar
  • 3,603
1 vote
1 answer
577 views

How to get the name of the active layout for the component used

I would like to get the name of the active layout for the category content component what is being used at this moment in my joomla through one override one_template/html/com_content/category/blog2....
jgc412's user avatar
  • 69
1 vote
1 answer
81 views

Joomla showing only default layout not overrides

I have created some Joomla articles and blog overrides. Both are working fine at local host (XAMP) but not on live site. Overrides for both can be selected from back end but displays only default ...
akmal saeed's user avatar
1 vote
1 answer
298 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 ...
user2802368's user avatar
1 vote
1 answer
336 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. ...
Jobin's user avatar
  • 1,505
1 vote
1 answer
389 views

Display timestamp on related articles module

I can't seem to be able to get the time for the created date to display correctly. All the dates return the same time. The date format I used is shown below. <ul class="relateditems<?php echo $...
Josh's user avatar
  • 91
1 vote
2 answers
109 views

Date format override for international multi-site setup

I understand the date format is defined in the language files, via the constant DATE_FORMAT_LC2. Also, that this can be changed via the backend language override. But that is still a file based ...
omni's user avatar
  • 101
1 vote
2 answers
91 views

Pulling featured articles from another remote Joomla install with images via RSS or otherwise

I am looking at taking the featured articles from one Joomla site (via RSS at least) and pulling it into another Joomla site (or more). The only problem is that I require the featured article's image ...
Mark's user avatar
  • 199
1 vote
0 answers
143 views

Custom layout path for fields

I have a central library \libraries\mylib\ containing some models, tables, helpers and stuff all of my components use. I also have a folder there containing some custom fields i use. It is simple to ...
maidan's user avatar
  • 433
1 vote
0 answers
74 views

List every contact including the ones in subcategories

I need a phone book with all people of the organization, but also need a separated phone book for each department. We have a "Main" category, with a few subcategories. I cannot duplicate the personal ...
drilippi's user avatar
1 vote
1 answer
89 views

Override order_date but query.php not working

I am looking for a solution to sort a Category-Blog by 'unpublish-date'. What i have done so far: created an own menu-style by copyingblog.xml, blog.php, blog-item.php and blog-links.php to my-*.* ...
Martin's user avatar
  • 11
1 vote
3 answers
3k 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....
TheAdnan's user avatar
1 vote
0 answers
256 views

Edit Module Bootstrap size to match bootstrap 3 [closed]

Is it possible to customize / add new options to the back office module advanced tab? We already have "bootstrap size" option, but since now I'm using Bootstrap 3 I want to use 2 more extra fields ...
miguelmpn's user avatar
  • 303
0 votes
2 answers
173 views

Image not found in html override

I did an override for joomla core mod_menu. But if I try to insert an image like this... <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/...
Woody's user avatar
  • 47
0 votes
1 answer
130 views

Is it possible to make it so that authors can edit their own published articles creating a new unpublished version of them?

Related: Is it possible to remove the "new article" button from all sections in a Joomla website? Worflows in Joomla 4 are great, but there is a feature I'm not sure they have: letting ...
Vincenzo Oliva's user avatar
0 votes
3 answers
77 views

(Module override/PHP) Checking if a content-item has an image otherwise display a placeholder

I am customising a Joomla module (Override) and it does not seem to accommodate if an image is not selected (just shows a broken image symbol). What I'd like to do is check if there is an image and ...
Dtorr1981's user avatar
  • 532
0 votes
3 answers
178 views

Joomla pagebreak causing 404 error in custom pagebreak coding. Seeking a solution

I wrote a function in an article override to search a folder for images and create a pagebreak behavior per image in an article. All works fine except for a 404 error being returned for each ...
Nadal's user avatar
  • 188
0 votes
1 answer
2k views

How to override helper file in template?

I did some modifications and added some extra functions in the file /components/MY_COMPONENT/helper/MYFILE.php What should I do to not lose these modifications in a future component update?
Max's user avatar
  • 991
0 votes
3 answers
502 views

Setting template color scheme

I just want to create a new color scheme and replace the root primary colors with it, how do I proceed?
DeesreX's user avatar
  • 87
0 votes
1 answer
99 views

Override login module to initiate SSO redirect

I have SSO working with an external IdP on my Joomla4 site. However, to initiate a login by a user, they have to click a button/link to be directed to the IdP login form. When I set the permissions ...
Lance's user avatar
  • 533
0 votes
2 answers
51 views

How to tell if the file can be overridden?

How do we alter the output of a Plugin that is installed in a Component (Example: "ABC" plugin installed in a Component "ABCD")? I understand that the core files can't be overridden. But how do we ...
user2976317's user avatar
0 votes
1 answer
55 views

How to get Google Analytics using user provided web id? [closed]

I am working on a project similar to filippa.com. In the process of registering a website, the user will input her/his web id, something like XX-XXXX-X. I need to implement a plugin in my item view ...
Amin Bakhtiari Far's user avatar