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
2 answers
258 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-...
manchine's user avatar
0 votes
1 answer
1k 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 ...
Claire's user avatar
  • 1
0 votes
3 answers
781 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 ...
Eoin's user avatar
  • 1,909
0 votes
1 answer
314 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;" ...
Ken's user avatar
  • 103
0 votes
1 answer
105 views

Override files in administrator folder [closed]

I would like to be able to override files in the ROOT/Administrator/components folder. How is it possible? I found this pdf file, but with no basic link to anything: link to override plugin pdf I ...
Peter's user avatar
  • 325
0 votes
2 answers
172 views

Form field type structure

In a Joomla 3.x plugin I need to create several new form field type and in some cases extend already existing core form fields. I know how to do it, but I have some doubts how to structure this files ...
n.h.'s user avatar
  • 871
0 votes
1 answer
564 views

How to override administrator core file?

I am trying to override an administrator component controller class in jomsocial for the purpose of adding an extra field in category edit option and to save it in db. According to this documentation,...
RunningAdithya's user avatar
0 votes
1 answer
178 views

Overwrite Site Model getListQuery

I have a System Plugin to filter Joomla 4 Category Blog Articles by Custom Fields. The Plugin basically overrides the core content ArticlesModel by loading it in the onAfterRoute Event like this: ...
cappu's user avatar
  • 139
0 votes
1 answer
62 views

Force 404 error in J4 when php file called

this is related to my previous question regarding [native J4 redirects][1]. I'm looking at a workaround but my previous question is still valid. I'm using [Jbusiness][2] and where previously we could ...
Dtorr1981's user avatar
  • 532
0 votes
1 answer
63 views

Alternative switcher.css in Joomla 4

Example switcher radio field: <field name="myradio" type="radio" default="0" label="Myradio" class="btn-group btn-group-yesno" layout="joomla....
maidan's user avatar
  • 403
0 votes
1 answer
121 views

Override a method of the Indexer class (com_finder) using a plugin

I'm trying to override a Joomla method (toggleTables in the Indexer class of the com_finder) using a plugin, but it doesn't work. Where am I going wrong? use Joomla\CMS\Plugin\CMSPlugin; use Joomla\...
Nintendomi's user avatar
0 votes
1 answer
46 views

Has the way Joomla Overrides works changed?

When I create an overide in Joomla using the create override button it creates an override like this: blog_item-29-09-2021 but then Joomla complains that it wants the _item at the end like this blog-...
Eoin's user avatar
  • 1,909
0 votes
1 answer
108 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 ...
Zack's user avatar
  • 101
0 votes
1 answer
199 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 ...
Eoin's user avatar
  • 1,909
0 votes
1 answer
171 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 { ...
Yves Parrat's user avatar
0 votes
1 answer
811 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 ...
Dtorr1981's user avatar
  • 532
0 votes
1 answer
273 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 ...
Eoin's user avatar
  • 1,909
0 votes
2 answers
1k 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 ...
shiody_'s user avatar
0 votes
1 answer
126 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 ...
Joomler's user avatar
  • 1,811
0 votes
1 answer
279 views

Create custom override for list from mod_articles_categories

I have created custom template override for mod_articles_categories,and it works fine. I also need to create an override for the view ,when we choose a category from the list. is it possible? now the ...
Shijin's user avatar
  • 101
0 votes
1 answer
179 views

Check if K2 image exists in third party exention

I need to check if a K2 article image exist in a third party extension. If the image exist, it should be displayed otherwise, a default image should be fetched. I am making the image path with : $...
web-tiki's user avatar
  • 1,373
0 votes
1 answer
296 views

Alternative layout with moduleclass_suffix

I have a Problem with the carousel module from bootstrapjoomla.com Unfortunately the module doesn't support alternative layouts. But I need to have two carousel on my homepage. Therefore I've to ...
lukasg's user avatar
  • 3
0 votes
0 answers
6 views

Error 0 Call to a member function get() on null on $db query in com_content category blog.php override

For a J5 site, using Cassiopeia, I have created (on a test site) a View using SQL in phpMyAdmin (which uses mySQL) that selects * from the content table linked by content.id and fields_values.item_id ...
Gillian's user avatar
  • 411
0 votes
1 answer
18 views

Move title before image in Category display (in Blog mode) of Articles

Created a new website using Joomla v4 and its Cassiopeia template (latest version). The Articles displayed on the Category pages (in Blog mode) now show the image first and then the title. I'd like to ...
Adrian's user avatar
  • 3
0 votes
1 answer
11 views

Tag page with blog layout

I want to create a menu item for a tag that shows the articles as in category blog layout. After, I would like to insert tags in the article info block. Is it possible in joomla 4 and 5? If yes, how ...
Deilas's user avatar
  • 1
0 votes
0 answers
49 views

Override com_content views

I have created the following override files in my Joomla 4 template override folder: /templates/chat/html/com_content/category/needinghomes.xml /templates/chat/html/com_content/category/needinghomes....
RustyJoomla's user avatar
  • 2,078
0 votes
0 answers
32 views

Article slideshow

I wanted to use Bootstrap 5 carousel/sildeshow on my Joomla CMS v4. I recently updated to Joomla 4 and the previous slideshow component isnt compatible so I am left with a load of articles which ...
j00m's user avatar
  • 191
0 votes
1 answer
77 views

How to implement language-specific tags in select tags list from editing?

I have observed in Joomla (v3.9.16 and in older version too) a strange behavior (maybe it is right, but I don't understand it). When we have fully installed and configured a multi-language site, if ...
Jonathan Bellieri's user avatar
0 votes
0 answers
39 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 ...
Johan Jonker's user avatar
0 votes
2 answers
391 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 ...
dg82's user avatar
  • 1
0 votes
1 answer
69 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/ ...
Eoin's user avatar
  • 1,909
0 votes
1 answer
307 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 ...
Simon D.'s user avatar
0 votes
1 answer
258 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)) : ?> ...
Rudy 's user avatar
0 votes
1 answer
355 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 ...
quokka-web's user avatar
0 votes
0 answers
321 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 ...
Liz.'s user avatar
  • 1,385
0 votes
0 answers
332 views

Override inner K2 function for output data?

I have developed with help of @seagul code that changes output data for K2 Authors. It adds to article an author which created the item + another authors based on author_ID located in Author alias ...
Fanger's user avatar
  • 73
0 votes
3 answers
721 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 ...
Mint's user avatar
  • 1
-1 votes
1 answer
218 views

How can I customize/design the View Article page

I want to customize and design the view page for articles I also want to add related articles module and move next and previous articles on the article page. How can I do that? Please advise...
Ya Basha's user avatar
  • 231
-2 votes
2 answers
90 views

Are there any "cleaned up" overrides for stock components and modules?

Let me rephrase my question since we got on the wrong foot here. Was there any effort to make HTML5 overrides for Joomla so that only absolutely necessary HTML is outputed to present all Joomla ...
Reygoch's user avatar
  • 273

1 2 3
4