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 updated.

Filter by
Sorted by
Tagged with
3
votes
3answers
2k views

How to override layout files properly

In Joomla 3.x we can use the JLayout class to override the files located in ROOT/layouts folder According to this doc http://docs.joomla.org/J3.x:JLayout_Improvements_for_Joomla! all we need to do ...
1
vote
1answer
187 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/...
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 ...
0
votes
1answer
237 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
247 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
2k views

How can I Include an article's Links in the blog intro text

I would like to include the article Links (as set in the Images and Links tab) below the intro text shown in the blog layout, above or below the 'Read more' link. I've tried including this from the ...
0
votes
0answers
117 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). ...
4
votes
1answer
660 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/...
1
vote
1answer
1k views

Is it possible to override js scripts?

I'm using a layout override to modify the cart module for Virtuemart, but the ajax request deletes part of my code when it updates. Because of this, I would like to change not only the template, but ...
0
votes
1answer
320 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=...
3
votes
1answer
339 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
445 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 ...
0
votes
1answer
2k views

How to override helper file in template?

I did some modifications and added some extra functions in the file /components/MY_COMPONENT/helper/MYFILE.php What should I do to not lose these modifications in a future component update?
0
votes
1answer
128 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
383 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
247 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?...
3
votes
1answer
91 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 ...
0
votes
1answer
2k 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
754 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
1answer
719 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 { ...
5
votes
3answers
4k views

How to add article image to module mod_article_categories?

I am using Articles - Categories module in my Joomla website (my custom template) and it works great, meaning that it lists all articles with intro text from the categories I want. But it does not ...
1
vote
2answers
2k 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?
0
votes
1answer
246 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;" ...
1
vote
1answer
2k views

How can I display the parent category title in the article-category module by override?

I have created an override of "mod_articles_category/default.php" to get all the outputs from the article category module in table rows. This worked fine so far and it is displaying the three selected ...
1
vote
1answer
128 views

Tag List Template Global Setting is Ignored

My goal: change the layout of my front page which is a menu item of the type 'tag list' (or something similar, don't know the precise translation). As usual, I made a file overriding the view template ...
3
votes
5answers
16k views

How to create a category blog layout with all articles shown in full?

Hello Joomla community, I'd like to create a category blog layout where all articles are shown with their entire content. I.e. without having the article shortened at the 'read more' position. What's ...
0
votes
2answers
113 views

Image not found in html override

I did an override for joomla core mod_menu. But if I try to insert an image like this... <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/...
5
votes
1answer
1k views

Layouts folder override (Read More)

Is there a way to override files form the layouts/joomla directory? I need to change the look of the Read More button. Found its php in layouts/joomla/content/readmore.php. Could I copy this file to ...
2
votes
1answer
198 views

Use yootheme layouts on an already running joomla site

I'm using yootheme's solar on my website and I want to change it for the stage theme, I want to make my site to look just like this: http://yootheme.com/demo/joomla/stage but it's impossible since ...
2
votes
2answers
113 views

How to handle JImage with missing image file

Today my website showed errors to end users on one page because an image was missing. This is an image stored in jseblod and accessed by using new JImage() in my template. Is there a guideline on how ...
0
votes
1answer
238 views

How do I increment the item variable by one in the category layout

I'm creating a layout override for the category layout where I need to list the articles in a 2 column table: +-----------+------------+ | | | | item 1 | item 2 | | ...
0
votes
1answer
34 views

Why are my sidebars being styled differently in template override?

I have two template overrides set up. One so I can display this page differently from other pages: http://pfp-consortium.org/index.php/activities/defense-education-enhancement-program-deep And ...
0
votes
0answers
70 views

Using Html and Css in Language Overide

Im trying to overide the language constants that Joomla uses for Registration Mail to add some html code and Css. As i read from another post here this is possible. Altough when i add the following ...
1
vote
1answer
213 views

Assign a subtemplate to specific items in K2

I have several items in a category. I'd like to assign to some of them another template instead of the one inherited from the category template view. I know I could create a new category with new ...
5
votes
2answers
1k views

Change menu item title according to login status

I am using T3 Framework blank template. In the megamenu I have inserted the login form as a submenu, so it shows up when the user hovers over the menu item. I would like to change the menu item title ...
1
vote
1answer
73 views

Combine two components in one template override

Basically, I want to display the "Add to Cart" block of j2store component in a particular position of my com_content template override. Any idea how can I do that? Thanks a bunch
-1
votes
1answer
148 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
3answers
929 views

Forcing Joomla module to be displayed in specific layout override

I have a dropdown menu as main navigation of my website and I want to create an offcanvas menu that displaying the same menu items as the dropdown menu items, for responsive design purpose. Since ...
1
vote
1answer
248 views

Displaying Content - Vote form in com_content template overriding

I want to display the Content Vote form in a specific position of my joomla article, so I can't use the Content - Vote standard plugin because it's set to be displayed before the article body (I need ...
1
vote
2answers
152 views

How to get currently opened article vote / rating value

I want to display the article rating number in my template 'com_content/article' override. How can I get the value of rating_sum and rating_count of the opened article?
6
votes
1answer
699 views

Can't see alternative layout once i add xml file

I create a file "product.php" in "\templates\beez3\html\com_content\category" I can see it in "alternative layout option" but i can't see it in "menu item type". Then i create a "product.xml" file. ...
1
vote
2answers
202 views

Mod latest news to include all subcategories item

In the latest news module we can choose what category to be included, but we need to select all (sub) categories even when the parent category is selected. Any idea how to display all items inside ...
2
votes
2answers
2k views

How to move print/email to be inline with article title for blog view?

for single article view I've moved the print/email function up to be inline with the title, instead of being located below the title in top-right corner of the content. Did this my moving the code ...
3
votes
3answers
983 views

Joomla! - Give Blog Categories Classes

First off, I'm a PHP noob :/ just to get that out of the way My goal is to give each Joomla! category a class, so I can pre-style layouts for my client, and when they choose a Category, they would ...
4
votes
3answers
1k views

Joomla 3.4 Admin Template Override

I want to change the header in the default admin template Isis. This is the output now. <header class="header"> <div class="container-logo"> <img src="administrator/...
1
vote
3answers
2k views

Placing two modules side by side

I'm trying to place these two modules side by side. They are in the same position and the proper ordering. I've also created a new module suffix for the width of the modules. Here's the code: .box....
2
votes
0answers
33 views

Layout Override shows up as menu Item but not as category layout [duplicate]

I have created a layout override starting from the blog template and added it in mytemplate\html\com_content\category : galleries.php galleries_item.php galleries.xml I can create a new menu item ...
0
votes
1answer
4k views

Template Override for Admin Template ISIS

I'm trying to override the Administrator template ISIS in Joomla 3.4. I am simply trying to replace the default Joomla logo's with my company logos so that it's branded for my customers. I want to ...
2
votes
1answer
382 views

countModules in module chrome function

I'm using grid layout and I need to calculate column width depending on amount of active modules in a position. I'm assigning the css class within my module chrome. What I was doing till now was ...
7
votes
2answers
715 views

Developing Outside the CMS

I have a question, I have an already constructed site, we use Joomla for the CMS, and a theme from RocketTheme called "Diametric". We are looking to construct a page and it's styling is going to fall ...