Questions tagged [templates]

The Joomla Template controls the overall layout of your site. It brings together common elements, modules and components as well as providing the cascading style sheet for your site. Both the Front-end (Site) and the Back-end (Administrator) of your site have templates.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

How to restore Isis template and see it in Extensions->templates

I am trying to restore the Isis template. I have reinstalled the zip file from Git. I can see the Isis folder and all of it's files under Administrator/templates, BUT I cannot see it in the Admin ...
1
vote
1answer
34 views

Render an admin view to a site template in Joomla!

Recently I am facing a challenge. I have a view and two layouts. Say the view name is form and the layouts are edit, edit-frame. Now I want to render the edit-frame layout into an iframe. This is the ...
0
votes
0answers
9 views

Override form fields in custom component

I'd like to override my radio form field that I made in my .xml file in my custom component. But i tried overriding it in my template via this post: Template override form fields in com_user But that ...
0
votes
0answers
17 views

Joomla 4 add background image to article

I cant figure out what im doing wrong. My goal is add background picture to article. I created custom.css file with simple code .main-page-picture { background-image: url('/images/main_foto_final....
0
votes
1answer
22 views

Registration form has extra fieldset, where to find it?

I am working on a website, and I see at the user registration form another fieldset (custom one that i made) but I cannot seem to find it. Does anyone know where you can configure these fieldsets? It'...
1
vote
2answers
49 views

Is there a way to use an SVG image in Cassiopeia

I'm using Cassiopeia and Joomla 4. I've adapted it very slightly to get to what I need but I really want to use a much smaller image size by using an SVG. Is there any way to do this? Previously you ...
1
vote
1answer
23 views

What is the recommended way to reproducibly override an administrator layout?

I need to override an administrator layout, and the override needs to be easily reproducible in different Joomla installations. Currently, we are using extensions to achieve reproducibility. However, ...
0
votes
1answer
17 views

Removing the border around the content in Protostar

The Protostar template has a border around all the content and modules, except for the footer module. How do I get rid of this border?
1
vote
0answers
23 views

Oauth2 in joomla template

**<?php /** * @package Joomla.Site * @subpackage Templates.bdcp * * @copyright Copyright (C) 2005 - 2020 All rights reserved. * @license GNU General Public License version 2 or ...
2
votes
2answers
149 views

Get site application via Factory::getApplication() in Joomla 4

The documentation for J3 instructs using Factory::getApplication('site') to get the site application, however according to the documentation for J4 doesn't have those method parameters anymore. I'm ...
0
votes
1answer
34 views

No such file or directory while using Vina Dongky template

I am using a template called Vina Dongky for VirtueMart content and I'm getting some errors. Warning: require_once(/home/priskork/public_html/libraries/joomla/document/html/renderer/head.php): failed ...
0
votes
1answer
39 views

Add module to Component area

My main menu is linking category blog which is automatically displayed in component area, and I want to put a slider module in component area too, but only in home page, so modules on "Right"...
0
votes
2answers
62 views

Get template params from the input

Previously I was looking into how to get the template I'm currently editing, now I need to make use of a templates/templateName/helper.php file which would need a different kind of request. // this ...
0
votes
0answers
143 views

Helix Ultimate Template: Error "500 icon::print_popup not found." when clicking on a blog article

I am currently using Joomla 4 Beta 7 with Helix Ultimate 2 Alpha 5 and PHP 7.2. When I go to my website's homepage > Blog and then click on any article, I get the following error: 500 icon::...
2
votes
2answers
42 views

Get the template I'm currently editing

I'm developing a custom form field for my template and I need to know the name of this template from inside this form field. While otherwise I would do a setQuery to look for client_id=0 and home=&...
0
votes
1answer
27 views

Undefined property: stdClass::$showtitle in custom module [closed]

I currently have a problem that is driving me crazy. My module shows the following error in the frontend in the DEV environment: Undefined property: stdClass::$showtitle .../joomla3/templates/system/...
0
votes
1answer
68 views

How to check an extension is namespaced?

I'm working on namespaced templates feature and I came to the point where I need to check if an extension is namespaced or not. One possibility would be to load the templateDetails.xml file and check ...
1
vote
1answer
191 views

Error “500 behavior::tabstate not found.” when trying to access SP Page Builder

I am currently using Joomla 4.0.0 Beta 6 with Helix Ultimate 2.0.0 Alpha 3 and PHP 7.2. My website runs on LiteSpeed Web Server, NOT Apache. When I go to The Joomla administrator panel > SP Page ...
1
vote
1answer
45 views

The template style option is missing from all menu items

We have a weird problem where at some point our menu styles dropdown has disappeared from all menu items. We can see it in our old site, and we're pretty sure it used to be there, and we're not ...
3
votes
1answer
82 views

Unable to get (site) template params from my module's backend

Someone at stackoverflow recommend I ask the question here, apologies if this is considered cross-posting... OVERVIEW I am developing a set of custom templates and a set of custom modules. The ...
2
votes
1answer
553 views

How can I add a local custom javascript file into the bottom of the template's index.php file?

I am writing some custom javascript in Joomla 4 Beta 6 to control various aspects of my custom front-end template's menus. It needs to load after the page has been rendered, so I want to add it at the ...
1
vote
1answer
46 views

Joomla apply SEF route from template's index.php file

I am having a problem recently is that- I am creating a Joomla Site Template and for a specific condition, the template redirects to http://mydomain.com/index.php?templateStyle=10&tmpl=custom. Now ...
0
votes
1answer
25 views

Render template on iframe by template ID

I am facing a problem with the rendering template after duplicating. The situation is I want to load a template on iFrame. So, I've set the URL of the iFrame like- Uri::root(true) . '/index.php?...
0
votes
1answer
54 views

Render a template after a specific route by using system plugin

I am facing a problem to render a template after hitting a specific route. Let me describe it a bit. I have a template structure like- templates |__mytemplate |__|__index.php |__|__component.php |__|...
1
vote
0answers
78 views

Adding viewport metatag breaks my template layout

I have separate templates for desktop/tablet and phone. I don't feel that viewport meta is needed in my mobile template, but without it Google is saying: Error: The page is not mobile friendly ...
3
votes
0answers
129 views

Joomla 4 template namespace

I'm working with latest Joomla 4 beta, and wondering how can I use namespaces with templates so I can start using and developing custom fields for my templates. I need to know what should I set in the ...
0
votes
0answers
47 views

Possible to add template file to component on plugin installation?

I am making a plugin for a custom component. It's a basic editor extend plugin that allows users to select an item from custom component using a button in editor. It's simular to native editor extend ...
3
votes
1answer
142 views

Joomla 3.9 not reading language override strings for English only

In Joomla 3.9.20, I created a custom front end template. Inside I have the language folder with various languages in this format. For German (example): /templates/mytemplate/de-DE/de-DE.tpl_mytemplate....
3
votes
2answers
114 views

Randomly render one of the modules in a given position

I have several modules for a given position, but I only want to display one of them (selected randomly) on the front-end in a Gantry template. Is there any way to do this?
0
votes
0answers
184 views

A slash is being automatically added after the hashtag in urls

I just wanted to implement a scroll to an element for two anchor tags. The problem is that Joomla is adding a forward slash between the hash mark and the named anchor. When I have something like <a ...
0
votes
2answers
201 views

Custom module best practices. JS inside template file or not?

I am building a custom module for Joomla. Let's call the module "mod_mygallery". Inside the module I have a the files mod_mygallery.php, helper.php and mod_mygallery.xml. And off course I also have ...
1
vote
1answer
186 views

Joomla 3.9 Child Sub Menu Not Showing

I am using a custom Joomla template called 'Portent' built by Joomlanauts -- a @SethWarburton creation. The issue which I am facing is that the Sub-menu under my Child menu items are not showing for ...
2
votes
1answer
53 views

How to assign a template for a specific page

I want to create a template for a specific page: the search result page. I found the options to specify a template for an article or a page but not for a joomla system page. Is possible to specify a ...
1
vote
1answer
66 views

Uploading file using Form class in admin template control panel

I'd like to include an XML form field in my template that allows the user to upload an image file for the company logo. I know how to do this for a regular component's administrator control panel, but ...
0
votes
1answer
86 views

Joomla php function which prints the pagename

Is there a php function to insert in the template which prints the name of the menu item of the displayed page?
1
vote
1answer
67 views

Define header CSS class if menu items have children

I am using two menu modules to display parent and children items in different locations in the website header. The simplified code below shows how it is written in index.php. I am needing to check to ...
0
votes
2answers
158 views

Count modules function in template not working correctly

I have a split navigation module defined in my custom template. It is set to display submenu items under the main navigation when the parent item is active. The module itself displays correctly, but ...
0
votes
1answer
72 views

Custom fields published state not working as expected

I am using the following code to check to see if my repeatable custom field's state is published/unpublished. If the state is set to 0, the code in between should be hidden, but instead an error is ...
4
votes
1answer
2k views

Is it possible to load a newer jQuery version?

Is it possible to override the native JHtml::_('jquery.framework') loaded by Joomla, using some line of php? I understand I could replace this line in my template. But since I am using a template ...
0
votes
0answers
123 views

Joomla datepicker field issue

Can someone help please? I'm working on a simple component which displays events. The component allows events to be submitted from the frontend. The form uses the Joomla datepicker. The problem I'...
0
votes
0answers
30 views

How can I make changes to JoomlArt's "Ja Mero" template's style sheet?

I'm not quite sure how Joomla's file structure works. I am using the Ja Mero template from JoomlArt, but haven't used it much. It looks like the T3 Framework. The generated filepath appears to be: ...
0
votes
1answer
23 views

Is there a way to change the layout or theme used when editing an article or module from the frontent

I don't have any problem using the back-end for creating and editing content, but my clients do. I want to provide them with some simpler menu options that are targeted for editing or creating ...
0
votes
1answer
47 views

How to access a custom action page

I have never worked on Joomla so I apologize for my naive question. I have a button on a page which redirects to this URL - https://ttmac.com/en/online-courses/buy?view=order-multiple-courses&...
0
votes
1answer
78 views

Mobile off canvas menu not working

I'm having difficulty getting the off canvas menu to work on a mobile view. I am using a LT Social theme template, my web address is gracegarton.com.au I had it working a week ago, but went to tweak ...
0
votes
0answers
15 views

How can I deploy UI updates on the fly locally in my dev environment?

I am new to Joomla. I want to setup a development environment through Visual Studio Code that allows me to go into any Joomla template location to edit/save/compile files AND automatically reload my ...
2
votes
1answer
4k views

Can't remove white space above and below the header

I am writing a Joomla template from scratch to use on my website. For some reason, I get white space above and below my header. My website, which you can check and inspect: http://vaterlinija.lt/ ...
0
votes
0answers
17 views

Inconsistent Helix3 behavior using megamenu and multiple columns

I have 2 sites: ariesagro.in agswitches.in Both are using Joomla and the latest version of Hexil3, but I am getting different results. I am not able to activate megamenu in agswitches.in where in ...
0
votes
1answer
248 views

How to create main menu in offcanvas position with plus signs to expand for their submenus?

I have developed my website, and my main menu works perfectly well; and my main menu also displays well in the offcanvas position if a smartphone or a smaller screen is used. All is good, except for ...
2
votes
2answers
182 views

How to hide <jdoc:include type="component" /> on the home page?

I am working with a unique template index.php file and want to remove the <jdoc:include type="component" /> because I don't want to display the empty space on the home page.
1
vote
2answers
96 views

How to remove excerpts in joomla articles

On my homepage, I am listing all my blog posts from a category. I don't want to show there any excerpt of articles neither full article instead of a title and featured image. How can I achieve that?

1
2 3 4 5
7