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
1 answer
24 views

Joomla ignores css changes after URL rewrite was activated

I recently installed Joomla 4.1 on my server and since I activated URL rewriting, my changes in some CSS files of the Cassiopeia Template are ignored. I tried deactivating the URL Rewrite, but it does ...
user avatar
0 votes
1 answer
15 views

Is it possible to let the visitor select from different style versions of the site?

I am asking myself if it is possible for an existing website to let the anonymous visitor select another template on the fly. The idea behind this is: There are people out there that prefer e.g. a ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
1 vote
1 answer
40 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 ...
user avatar
0 votes
0 answers
22 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 ...
user avatar
  • 325
0 votes
0 answers
24 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....
user avatar
  • 101
0 votes
1 answer
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'...
user avatar
  • 325
1 vote
2 answers
174 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 ...
user avatar
  • 1,829
1 vote
1 answer
25 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, ...
user avatar
0 votes
1 answer
33 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?
user avatar
  • 21
1 vote
0 answers
48 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 ...
user avatar
  • 11
2 votes
2 answers
535 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 ...
user avatar
  • 395
0 votes
1 answer
39 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 ...
user avatar
0 votes
1 answer
64 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"...
user avatar
0 votes
2 answers
84 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 ...
user avatar
  • 395
2 votes
2 answers
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=&...
user avatar
  • 395
0 votes
1 answer
30 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/...
user avatar
  • 483
0 votes
1 answer
70 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 ...
user avatar
  • 395
1 vote
1 answer
336 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 ...
user avatar
1 vote
1 answer
53 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 ...
user avatar
  • 1,829
3 votes
1 answer
97 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 ...
user avatar
  • 83
2 votes
2 answers
948 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 ...
user avatar
  • 161
1 vote
1 answer
48 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 ...
user avatar
0 votes
1 answer
26 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?...
user avatar
0 votes
1 answer
60 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 |__|...
user avatar
1 vote
0 answers
93 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 ...
user avatar
3 votes
0 answers
151 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 ...
user avatar
  • 395
0 votes
0 answers
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 ...
user avatar
  • 213
3 votes
1 answer
176 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....
user avatar
3 votes
2 answers
129 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?
user avatar
  • 1,369
0 votes
0 answers
260 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 ...
user avatar
0 votes
2 answers
243 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 ...
user avatar
  • 213
1 vote
1 answer
224 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 ...
user avatar
  • 11
2 votes
1 answer
63 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 ...
user avatar
1 vote
1 answer
68 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 ...
user avatar
0 votes
1 answer
109 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?
user avatar
1 vote
1 answer
73 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 ...
user avatar
0 votes
2 answers
199 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 ...
user avatar
0 votes
1 answer
81 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 ...
user avatar
4 votes
1 answer
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 ...
user avatar
  • 213
0 votes
0 answers
132 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'...
user avatar
  • 43
0 votes
0 answers
31 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: ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 111
0 votes
1 answer
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&...
user avatar
0 votes
1 answer
104 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
  • 101
2 votes
1 answer
5k 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/ ...
user avatar
0 votes
0 answers
18 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 ...
user avatar
0 votes
1 answer
354 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 ...
user avatar
  • 105
2 votes
2 answers
205 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.
user avatar

1
2 3 4 5
7