We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
1answer
22 views

Send email upon publish/unpublish of an item in custom component

I have created a hello world component based upon this documentation https://docs.joomla.org/Special:MyLanguage/J3.2:Developing_an_MVC_Component/ I want to send a notification to users if an item's ...
1
vote
1answer
13 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 ...
0
votes
2answers
40 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
1answer
9 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 ...
1
vote
0answers
21 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 ...
0
votes
0answers
15 views

Override XML File [duplicate]

Using Joomla 3.9.11 and SP Simple Portfolio When adding a portfolio item via the back end there is a description textarea field, this is required. I'd like to remove this required attribute. Looking ...
0
votes
0answers
16 views

Tagged blog layout with readmore

I implemented the solution that enables a blog layout for tagged items, as described here: How to show tagged items in category blog layout What I miss is the Read More button. How do I implement ...
0
votes
0answers
16 views

Joomla layouts folder override not working

I'm trying to add a custom field inside the admin form when you edit an article. Since I want to add this under the title input I tried to edit this file /layouts/joomla/edit/title_alias.php and the ...
1
vote
2answers
33 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 ...
2
votes
1answer
30 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 ...
0
votes
1answer
19 views

Why isn't my alternate layout override showing up for the menu item?

I have created an override for com_content for the category list. It is stored in /templates/MYTEMPLATE/html/com_content/category It is saved as a new name, copying the Joomla! override structure ...
0
votes
3answers
46 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 ...
0
votes
1answer
40 views

How to override bootstrap css?

I would like to use the tooltip function of Bootstrap 3 on my website (www.fischer-club.ch). I tried to override the margin-top value in my custom.css to better place the tooltip: .tooltip.top { ...
1
vote
1answer
68 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. ...
0
votes
0answers
24 views

How do I create and use my own layout for category page?

I want to create a custom layout for my category. I've read the tutorial about https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_coreand https://docs.joomla.org/...
2
votes
1answer
477 views

How to change date format in JHTML::calendar to d-m-Y?

In a form I have a date/time-field. It works correctly, but the format of the date isn't right -- I require Dutch date notation (d-m-Y). Instead of day-month-year it displays and saves it as year-...
0
votes
1answer
114 views

Display Article custom fields in table

I am trying to customise the way the article custom fields are displayed on the category blog page. At present they are displayed in a vertical list: What I would like to do is display these in a ...
3
votes
1answer
76 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 ...
3
votes
2answers
71 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 ...
0
votes
3answers
117 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 ...
1
vote
1answer
33 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 ...
1
vote
1answer
183 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: $...
1
vote
1answer
76 views

Export language overrides

I need to export the language overrides which i set in the joomla 3.8 admin. I couldn't find any option at extensions->languages->overrides and i also couldn't find the overrides inside the database. ...
0
votes
1answer
36 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 ...
0
votes
1answer
159 views

How can you call custom fields in an override for com_contacts

In com_content I can call my fields one by one as follows <?php echo $this->item->jcfields[3]->value; ?> The same code does not work in com_contacts. How can I call the fields in a ...
0
votes
2answers
152 views

Override List of all tags

I'm working on a override for com_tags List of all Tags, i want to change when clicking on the tag title the list of items (articles) will slide (accordion) instead of open in a new page. I create all ...
0
votes
1answer
47 views

How can I remove span12 from the div before the article

In the past when I did an article override I used to get: default.php default_item.php default_links.php default_child.php all of which were placed in templates/MYTEMPLATE/html/com_content/article/ ...
0
votes
1answer
206 views

I've missed something with how category layout override is working

I'm working on a students directory with the following structures: Directory (parent category) |_ 2017-2016 (child category) |_ 2016-2015 (child category) |_ 2015-2014 (child category) … In each ...
0
votes
1answer
181 views

Joomla category blog is displaying only a number of leading articles in the 'blog' section, and putting all other leading articles outside of it

Okay so this has gotten me stuck for more than i'd like to admit. I made a joomla ovverride for blogs just to test it out. I see the code below: <?php if (!empty($this->lead_items)) : ?> ...
1
vote
1answer
25 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, ...
3
votes
1answer
165 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!
0
votes
1answer
512 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: ...
0
votes
1answer
313 views

Alternative layout for single article menu item possible?

I created an alternative layout for an article (in templates/mytemplate/html/com_content/article/newlayout.php). I can see it in the Layout option of the Article => OK Actually, I would prefer to set ...
2
votes
2answers
520 views

Menu item - Articles List - Filter by user

I'm very new to Joomla (version3). I have two registered users. When any registered user is logged in they can see a new menu which contains an item to show the Articles list. This works as expected....
2
votes
1answer
90 views

Mod articles archived override not working?

I am using Joomla 3.8.0, and I have made an override for the mod_articles_archived module. For some reason it doesnt read the override? I have the following map structure now: templates/mytemplate/...
0
votes
1answer
159 views

article view - com_content not triggering content plugins when article is split

I've created a template override for the article view where the intro and the full text are invoked separately. So, instead of <div itemprop="articleBody"> <?php echo $this->item-...
1
vote
1answer
1k 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 ...
1
vote
1answer
498 views

Override the Edit profile form allowing edit of contact fields

Each user in my Joomla website has an associated contact, with photo, link, and bio (in the miscellaneous information field), etc... I would like to override the edit profile page (com_users/profile/...
0
votes
3answers
469 views

Articles list from a category displayed in 2 columns

I try to display the articles list from a specific category (mod_articles_category) in 2 columns. There is a great example here about what I want: http://jsfiddle.net/HP85j/393/ I would love to do ...
1
vote
1answer
232 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
vote
2answers
674 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
1answer
63 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 ...
2
votes
1answer
2k views

Helix 3 Logo and Text

Joomla 3.6.5 Helix 3 I am using this template and what I am trying to do seems like it should be simple. Currently I am displaying a logo similar to the default template, however I would also like ...
0
votes
0answers
333 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
votes
3answers
228 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 ...
2
votes
1answer
232 views

Add “show all” button to BT Content Slider module

I am using Joomla 3.X. I have a module which displays three news and events at a time to see next set of news and events user has to press the next button. The name of the module is "BT Content Slider"...
2
votes
1answer
26 views

Show content from all users for a given Category [closed]

I'd like to create a layout that lists the article content from a chosen category.and subcategory for specific users. I've been looking into overriding the blog layout but I'm not familiar with what ...
2
votes
1answer
228 views

Override blog category location

I'm new to overrides and want to change the look of the category blog that I've assigned to my menu item type. I can't find which override to create and which file to edit. It's the blog layout that ...
1
vote
3answers
116 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. ...
4
votes
2answers
296 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() { ...