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 [template-override]

A Template Override is a file in your Joomla template directory that is loaded instead of the normal core Joomla file. This is done in order to change the layout or functions of certain parts of Joomla, without changing the core files, because these are updated and overwritten whenever Joomla is ...

0
votes
0answers
13 views

auto width of chzn container

I'm using Isis administrator template, but since some time the width of chozen containers (please view picture) is so narrow that the text is almost impossible to read. Not even re-installing the ...
0
votes
1answer
26 views

Retrieve values from a custom field in Joomla 3.8

excuse for my English. I try to retrieve my value from a custom field in com_categories. I added this field by a plugin. My value is correctly saved but i don't why, i can't retrieve my value from ...
1
vote
1answer
46 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
19 views

Tag Template Override - Access to Data

on the override for com_tags > tag > default.php I'm trying to add the [note] data It would seem that this > $this->item->note should work. But it doesn't Here's a short result of the <?php ...
0
votes
0answers
33 views

Override template result of joomla.searchtools.default

I have this function working on a listing view of users in Joomla backend: JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); I want to change the placement of some ...
0
votes
2answers
75 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 ...
2
votes
2answers
114 views

Get contact details from article override

I need to display the contact information of a contact on an article override (addresse, phone number...). I can get the user with : $user = JFactory::getUser(); but how can I get a user contact ...
0
votes
1answer
32 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
0answers
177 views

Custom fields - JS in template override

We need to add some enhanced ecommerce tags to standard Google Analytics tracking on few pages. We think the best way to do it would be to use Joomla Custom fields so we created a custom field for ...
0
votes
1answer
83 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
1answer
50 views

How to make frontend module editing as modal in a custom template?

In layout override files, this is successfully outputting the content of the modules plus the icon for frontend module editing. But when clicked it opens the module editor as a full page instead of as ...
1
vote
1answer
22 views

Where to place the file for user registration form

I'm creating a template override for the Joomla3.8 registration form. Where should I upload the default.php file to? This is where I've tried, without luck: /templates/yootheme/html/com_users/...
0
votes
0answers
50 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
119 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
257 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
62 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/...
1
vote
1answer
79 views

Joomla set Template Alternative Layout via link, is it possible?

I came across an strange behavior and I am trying to find out if I can solve this by setting the layout to be used via the link to the category. Here is what happened. I have a template override for ...
1
vote
1answer
827 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 ...
3
votes
1answer
299 views

Adding a title attribute on the image tag - How to customize article's full image layout?

I want the full image of an article to use the value of an alt attribute in a title attribute, too. I have been searching everywhere and just can't find the correct file. The file which provides the ...
1
vote
1answer
457 views

pass parameters to a wrapper url - Joomla3.x

I have a requirement to pass parameters from the joomla calling URL to the wrapper iframe URL. I had a look around to see if I could do this and found this thread https://stackoverflow.com/questions/...
0
votes
0answers
274 views

How to modify the display of custom fields of user's profile

I've added some custom fields to Users. There's a menu entry for User Profile in the Front End. I'd like to change its display i.e. see the custom fields before the Basic Settings. I didn't find a way ...
1
vote
2answers
397 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
509 views

Create thumbnails with custom field images

I have articles with custom fields type media. I need to create thumbnails from these images with a fixed widths (1200px, 700px, 450px and 250px) to display with the picture element and on different ...
1
vote
2answers
157 views

Can I assign a Gantry 5 outline to a category

The site I am working with has a lot of subscriber-only content which is accessed through a set of categories associated with permission groups. Items that are subscriber-only don't currently appear ...
1
vote
1answer
74 views

Call Joomla Native Language Title

The site uses a custom mod_menu. How do you call the native language title? <?php $lang = JFactory::getLanguage(); $lang_name = $lang->getName(); ?> <?php echo $lang_name;?...
5
votes
1answer
179 views

Tagged items blog layout

This has come up before but I don't have enough reputation to comment into the original questions. User webchun gave a great tutorial in How to show tagged items in category blog layout which works ...
4
votes
2answers
170 views

How to add a language pack (or language specific string overrides) to a template?

So, I am in the process of adding a second content language to my joomla site and I'm running into an issue. I have successfully added my second language (German) and have rebuilt my site with the ...
0
votes
1answer
234 views

How to translate labels for contact page on multi-language site?

I'm working on a multi-lingual joomla 3.6 site and I'm running into a problem with the contact page. The issue I'm running into is how to internationalize the labels on the contact page corresponding ...
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
51 views

Unintentional override to Sidebar B module made it disappear. How to restore?

I was in the Template section, (as a novice, in the wrong area) trying to change the appearance of a module. I clicked on Create Overrides tab, then in the third column Layouts list, clicked "sidebar ...
0
votes
1answer
146 views

How to change html order in News Flash Advanced layouts?

So, I'm trying to make a testimonials page and I'm using Joomla 3.64 with the News Flash Advanced Module. The site is using Theme1498 by Template Monster. I believe that there was some custom work ...
2
votes
1answer
188 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 ...
2
votes
1answer
219 views

Get parent category tags in template override

I am building a template override for the default featured blog layout. Item tags are displayed with : <?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->...
0
votes
0answers
100 views

3.6x Administrator - add class to squeezebox iframe on popup

My goal is to be able to change the content within AddtoMenu - so I can set the language by default rather than "all" - I want "en-gb" or "zh-TW" etc. based on my content type (am using FLEXIcontent). ...
3
votes
1answer
348 views

How do I override a Joomla XML?

For example, we have a module called MOD_PR_SLIDER. Which has this file: public_html/modules/mod_pr_slider/mod_pr_service.xml I already copied that file in: public_html/templates/my_template/html/...
4
votes
1answer
148 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....
1
vote
1answer
250 views

Easy upload intro image from frontend on specific folder

on joomla frontend submission you can upload intro and full image images using joomla media manager. You first upload on the folder you choose and then select image and then insert image. I need to ...
2
votes
2answers
481 views

Get Category intro image in the index.php

I want to display the intro image of my categories on the category page. I have a template override for the category blog. Because of the layout, I need to place the code outside of the override - in ...
0
votes
1answer
192 views

Category not found returns 200 OK, I need 404

My website has been upgraded from a custom written 1.5 template and I need to run a link checked over it to discover broken links. For one url: /index.php?option=com_content&task=view&id=...
0
votes
1answer
81 views

Are administrator layout overrides lost in system's templates on Joomla's update?

Let's say I need an alternative layout of an administrator module. So I copy the file of the module from the administrator/modules/my_module/tmpl/default.php and put it inside administrator/templates/...
1
vote
1answer
214 views

How to override an administrator template file that's included on the frontend?

A component is using include to load an administrator form in the front-end so users can fill it out and submit content. I'd like to override that form, but it doesn't appear to be possible from my ...
1
vote
0answers
214 views

How the contact form label bootstrap tooltip popup onhover message position can be modified?

I am building a website, and I would like to modify the CSS position for this floating box message that is displayed when the mouse pointer is hovered over a form field label. How can it be achieved?...
0
votes
1answer
1k views

How to edit the html code of a custom footer module template override

i'm trying to create a modification of the footer Joomla copyright default module. I'm creating a template languge override, but this does't work very suitably, i would like to know how to edit the ...
1
vote
1answer
402 views

Blog page showing Categories and their Articles in blocks?

In a 3.5 Joomla I have multiple articles and subcategories and want to show them in a page like: Computers -- Article 1 -- Article 2 -- Article 3 Health -- Article 4 -- Article 5 -- Article 6 Science ...
2
votes
2answers
410 views

Custom Module Menu Item Link Class Css

I would like to customize a Menu module. I want to add a default CSS class to a Joomla 'my_template' to render all link menu items with a default class (<a class="link_menu"...). I know that it is ...
2
votes
1answer
522 views

How to remove/hide “Help” button from the admin toolbar?

How do I remove the "Help" button from the admin toolbar in Isis template? I have tried placing the following in the Isis template.css file with no luck, #toolbar-help.btnwrapper button.btn-small { ...
4
votes
1answer
60 views

Inject HTML overrides in admin Template

I would like to create some html overrides for a given Admin Template (isis). So I could throw in all the code into the template's directory, but I guess an update will wipe out all my changes, so ...
2
votes
2answers
469 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
158 views

Fatal Error in JModuleHelper

I am using a custom template, and when I enable a certain module, I get the following error: Catchable fatal error: Object of class stdClass could not be converted to string in /home/...
1
vote
2answers
1k views

how to assign different templates to different page or article?

In joomla 3, i need to know how to assign different templates to different pages or articles?