Questions tagged [overrides]
An override is a file in the Joomla template directory that is loaded instead of the normal core Joomla file.
183
questions
0
votes
2
answers
240
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-...
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 ...
0
votes
3
answers
744
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 ...
0
votes
1
answer
305
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
1
answer
98
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 ...
0
votes
2
answers
171
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 ...
0
votes
1
answer
556
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,...
0
votes
1
answer
40
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....
0
votes
1
answer
86
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\...
0
votes
1
answer
43
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-...
0
votes
1
answer
99
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 ...
0
votes
1
answer
168
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
1
answer
142
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 {
...
0
votes
1
answer
719
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 ...
0
votes
1
answer
264
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
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 ...
0
votes
1
answer
124
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
1
answer
258
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 ...
0
votes
1
answer
177
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 :
$...
0
votes
1
answer
292
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 ...
0
votes
0
answers
14
views
Joomla 4: Is it possible to add data from a category blog override into a contact form override?
Summary: I want to pull in Joomla field and input values from a category blog and insert them into a contact form.
Background: I have created an alternative menu item based on the category blog for ...
0
votes
1
answer
69
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 ...
0
votes
0
answers
35
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
2
answers
359
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
1
answer
68
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
1
answer
291
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
1
answer
248
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)) : ?>
...
0
votes
1
answer
347
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 ...
0
votes
0
answers
319
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 ...
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 ...
0
votes
3
answers
670
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
votes
1
answer
207
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...
-2
votes
2
answers
89
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 ...