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
983 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) ...
1 vote
2 answers
875 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 ...
  • 19.6k
1 vote
2 answers
150 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 ...
  • 345
1 vote
3 answers
157 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. ...
1 vote
2 answers
250 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 ...
1 vote
1 answer
82 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 ...
  • 345
1 vote
1 answer
66 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 ...
1 vote
2 answers
60 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 ...
1 vote
1 answer
298 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. ...
  • 31
1 vote
1 answer
841 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: ...
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 ...
  • 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 ...
1 vote
1 answer
136 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 ...
  • 165
1 vote
1 answer
967 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">...
  • 325
1 vote
1 answer
630 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 ...
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 ...
  • 251
1 vote
1 answer
460 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 (...
  • 19.6k
1 vote
1 answer
163 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?
  • 323
1 vote
2 answers
71 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 ...
1 vote
1 answer
98 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/...
1 vote
1 answer
28 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, ...
1 vote
1 answer
86 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 ...
  • 133
1 vote
1 answer
99 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 ...
  • 11
1 vote
1 answer
336 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: $...
  • 113
1 vote
1 answer
28 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, ...
  • 101
1 vote
1 answer
376 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 ...
  • 1,105
1 vote
1 answer
85 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 ...
1 vote
1 answer
473 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 ...
  • 3,543
1 vote
1 answer
555 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....
  • 69
1 vote
1 answer
80 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 ...
1 vote
1 answer
279 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
1 answer
332 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,507
1 vote
1 answer
375 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 $...
  • 91
1 vote
2 answers
108 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 ...
  • 101
1 vote
2 answers
89 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 ...
  • 199
1 vote
0 answers
93 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 ...
  • 183
1 vote
0 answers
63 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 ...
1 vote
1 answer
88 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-*.* ...
  • 11
1 vote
3 answers
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
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 ...
  • 303
0 votes
2 answers
159 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/...
  • 47
0 votes
3 answers
66 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 ...
  • 604
0 votes
3 answers
162 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 ...
  • 178
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?
  • 991
0 votes
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 ...
  • 123
0 votes
2 answers
30 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?
  • 57
0 votes
1 answer
60 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 ...
  • 533
0 votes
1 answer
53 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 ...
0 votes
2 answers
47 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 ...
0 votes
1 answer
53 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 ...