Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [overrides]

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

1
vote
1answer
17 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
25 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
17 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
41 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
61 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
27 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
68 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
53 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
21 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, ...
2
votes
1answer
47 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
0answers
31 views

How can I do a layout override on the Joomla! Subform Admin Edit

I have tried creating the following folder structure /TEMPLATE/html/layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php This should allow me to override the front end editing custom ...
0
votes
1answer
204 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
79 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
187 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
56 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
79 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
735 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
184 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
275 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
108 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
320 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
34 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
867 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
192 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 ...
4
votes
2answers
157 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
189 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
25 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
177 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
93 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
1answer
239 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() { ...
2
votes
1answer
201 views

How to show the full text in mod_article_category?

I override the Joomla mod_article_category. I set hide introtext in Joomla CMS. And I used the print_r($list) to check the fulltext variable. However, there are [fulltext] but no content after print_r(...
0
votes
0answers
25 views

One page overwrite my jquery

I have one problem with my Joomla site, I have the site in 7 language, for all of them I have done a file form.php where I have submit form for customers to contact me and this file is in all 7 ...
4
votes
1answer
125 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....
2
votes
1answer
65 views

Auto insert text (or code) on article

I try to find a way to auto insert code or text to every article on submission. I find this article on joomla https://docs.joomla.org/Add_text_to_an_article_using_template_overrides ,that uses ...
2
votes
1answer
350 views

How can I override configuration.php

I would like to automatically override my Joomla configuration based on the host I am using. For example: $servername = getenv("HTTP_HOST"); if($servername == "localhost") { JConfig::host = '...
0
votes
2answers
516 views

How to assign custom link to Article title and read more?

I'm new to joomla development. I use joomla v3.6.2, and in home page, I have some article. Unfortunately when I click on article title or read more link, it will show me the full article but still in ...
1
vote
1answer
63 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-*.* ...
2
votes
2answers
541 views

How to rewrite JText to get my custom text translations from Database and not from files

I managed to rewrite system plugin "Language Manager", so now it saves texts for different languages to Database (DB). Now I do not know how to rewrite JText (that is present across all the ...
3
votes
1answer
227 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 "...
0
votes
1answer
769 views

How to remove username in the Joomla registration

I have gone through some Q&A but not sure how to do it. I want the registration form will be only-- Name Email Password Re-type Password I have installed Authentication - EMail and ...
2
votes
2answers
411 views

How do I get an unordered list of article tags in category blog view?

I'm working on an override for com_content category blog view and need an unordered list of article tags in blog.php. Every tag should be wrapped in an <li> <li>[tag]</li> <li&...
1
vote
1answer
225 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....
2
votes
1answer
66 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 ...
0
votes
1answer
82 views

helper file overrider is not working

I am trying to override the helper file of XYZ component and for this I have created a system plugin using these documentation - https://docs.joomla.org/J1.5:Plugin/Events/System and How to ...
0
votes
3answers
281 views

How to find the URL of a blog item in blog category view

I am doing a category blog override. As part of that I require the blog item URL. Not the current URL, which I can get, the read more URL of the blog. I tried to create a JLayout override, and ...
3
votes
1answer
103 views

Custom Form Field Type available for all extensions?

I am making my custom form field types and I would like to make them globally available for all forms everywhere in Joomla. Is there any certain location that can be used for this purpose, other ...
0
votes
1answer
150 views

How to use custom logo markup with Helix framework templates?

Currently, my logo is displayed as so in my template: <div id="sp-logo" class="span4"> <div class="logo-wrapper"> <a href="/"> <div style="width:300px; height:75px;" ...
0
votes
0answers
164 views

Send Article Details when user click Email Icon

When a user clicks email icon in frontend article, a default message is sent giving the article link. But I want to modify this, and also send Article title and Introtext in the email. For this, I ...
2
votes
1answer
331 views

Override category list of K2 frontend item form

I have overwritten K2 Frontend item submit I made a copy of components/com_k2/templates/default/itemform.php to templates/YOUR TEMPLATE/html/com_k2/SUBTEMPLATE NAME/itemform.php Based on the ...
1
vote
1answer
849 views

Override: Style next and previous button

I want to style the next and previous buttons from Joomla! and I already have configured that in my css file, so I've just to add them a class but I don't find the file, where I can override these two ...