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
0
votes
1answer
325 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
132 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
391 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?...
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
786 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
699 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
731 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 { ...
3
votes
1answer
96 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
794 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
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/...
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
260 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
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
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?
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
132 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 ...
0
votes
2answers
114 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/...
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 ...
1
vote
1answer
830 views

Overriding a class by custom plugin

Im trying to create a plugin to override a Joomla class, which otherwise is impossible to override. Here are my codes: comoverride.xml <files> <filename plugin="comoverride">...
0
votes
1answer
243 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 ...
2
votes
1answer
200 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 ...
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
80 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
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
1answer
252 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
154 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?
2
votes
3answers
948 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 ...
5
votes
1answer
3k views

Adding class to content 'Read More'

I want to add a class to the Read More link found in //components/com_content/views/category/tmpl/blog_item.php I want the class to be: <a class="btn btn-primary readmore-link"> But I can't ...
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 ...
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 ...
6
votes
6answers
1k views

How to automatically override template for a list of articles under a specific category?

I have created an override for my news category (which works perfectly) and another article override for my news articles as follows // Category Override my_template/html/com_content/category/news....
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 ...
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. ...
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 ...
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/...
4
votes
1answer
5k views

Creating multiple layout overrides for category blog layout

I have looked at other questions on this matter, but would like to be clear on what is the 'correct' approach to this. Example: https://stackoverflow.com/questions/13715665/joomla-override-category-...
3
votes
1answer
2k views

Overriding the core layout for Featured Articles Component

I am a bit of a Joomla noob, so forgive the question, but I have searched for an answer. I am looking to customize the layout of the featured articles component. However, I do not want to customize ...
3
votes
3answers
1k 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 ...
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 ...
-1
votes
1answer
154 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...
1
vote
2answers
998 views

How to extract Joomla image PHP for Opengraph

I have been trying to develop my own opengraph. I found some codes online and try to merge them but to no avail. I wonder if I have done it wrong. // Try to find image in article $img = 0; ...
1
vote
1answer
219 views

Override field with custom field and custom form submit in Template Manager

I'm building a new Template for Joomla 3.x and I want to make it easy for the user... In the template manager I want an 'Upload Photo' file-field. This is no problem; just define it in ...
7
votes
2answers
718 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 ...
2
votes
0answers
24 views

Rename my template [duplicate]

I'm trying to to change the name of the default Protostar template so that /templates/protostar/ is not visible in my source code. I tried by creating a new style with a new name in the template ...