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
1 vote
1 answer
34 views

Setting ignore for Joomla files or directories

I'm new to developing in Joomla and I was wondering if there are a set bunch of files and directories you ignore say for example using the VSCode ftp extension or .gitignore. I'm specifically looking ...
Tim's user avatar
  • 11
0 votes
1 answer
42 views

How do I modify the CSS class on a specific page in a Joomla 3 template?

I upgrade a site template from Nebulae - version 1.6.3 to the latest version 1.16. Nebulae Template The new template change the rt-container children class from this: to this: As you can see, the ...
lance2k's user avatar
  • 103
0 votes
1 answer
137 views

Joomla 4 custom template not loading web assets

I am in the process of writing a custom theme for a client and am having issues with the Web Asset Manager. I have been following examples of other templates that are built for Joomla 4+, but I must ...
Mike Hermary's user avatar
0 votes
1 answer
97 views

Joomla 4 plugin to set template style for article

I would like to create a plugin to load a specified template style for each article on Joomla 4. The basic idea is as follows: Use a custom field in the article to specify the desired template style ...
Bruce Button's user avatar
1 vote
1 answer
92 views

Is there a way to restart joomla and the Cassiopea template back to default?

I am new to Joomla and made stupid mistakes of editing Cassiopea template without duplicating it first. I just realized that I should have done the latter while I was digging deeper on how to edit the ...
willowww22's user avatar
0 votes
1 answer
81 views

Joomla\CMS\Form\Form::getInstance() could not load file

This error keeps vexing me. The file is there, we can see it, the permissions are correct. It's typelist-theme.xml in the t4 system plugin, plugins/system/t4/themes/base/params/typelist-theme.xml. ...
Olle Härstedt's user avatar
0 votes
2 answers
62 views

Why does template stuff still appear after uninstall [helixultimate]

I installed the site template Helixultimate. Some time later, I removed it by Manage Extension. Then, I logged stuff inside of SiteMenu.php and found e.g. helixultimatemenulayout inside the params ...
SteAp's user avatar
  • 163
0 votes
1 answer
93 views

Reinstall template

I have an installed template on the site all ready, but I want to reinstall it without removing any content. From my understanding you can just remove the entry from the database? How do I do it.
DeesreX's user avatar
  • 87
0 votes
3 answers
373 views

Setting template color scheme

I just want to create a new color scheme and replace the root primary colors with it, how do I proceed?
DeesreX's user avatar
  • 87
1 vote
1 answer
49 views

Secure joomla admin: Disable editing css/html files for templates

I'd like to disable entering and editing any files in the Templates/Templates area. We have some security issues with template files (they are edited by hackers) and we are afraid that it is used for ...
forsberg's user avatar
  • 111
0 votes
1 answer
59 views

Tutorial for creating joomla template

I read the tutorial about how to create a Joomla template from https://docs.joomla.org/Creating_a_basic_Joomla!_template , but when I scrutiny the Standard template bundled within Joomla 4.x (...
dhany saguntoro's user avatar
0 votes
1 answer
69 views

0 - Class "Uri" not found

I created Joomla template and tried to include a PHP script. My index.php code: <?php defined('_JEXEC') or die; use Joomla\CMS\Uri\Uri; ?> <!doctype html> <html> <head> <...
dhany saguntoro's user avatar
0 votes
1 answer
570 views

Joomla 4.1.5 <meta name="keyword"> doesn't show

I use Joomla 4.1.5, and I created my own Joomla Template following the tutorial from joomla.org. My problem is that while other metadata shows correctly on the frontend pages, the <meta name="...
dhany saguntoro's user avatar
0 votes
2 answers
348 views

Joomla does not detect changes to template css files

I tried to edit one of the files in the css folder of my template, but the edits are ignored. I noticed that Joomla doesn't read the real css files, but a "version" of these... and probably ...
Nintendomi's user avatar
0 votes
1 answer
79 views

Session variable from a module is only accessible from the template after refresh

To add some common ground. I need to transfer 3 variables from a module to my template when the sites loading. In my module I get 3 links to specific images and they need to be included in the ...
Jonathan Schmidt's user avatar
0 votes
1 answer
72 views

How can I display edit icon for articles?

I have created a Joomla 4.1.5 template based on Cassiopeia but heavily customised. Everything works fine but instead of a front-end Edit icon on the right above articles (for a user with edit ...
Dionysus's user avatar
0 votes
1 answer
123 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 ...
dukemadcat's user avatar
0 votes
1 answer
19 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 ...
Christian Wolf's user avatar
0 votes
1 answer
276 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 ...
paljoomla's user avatar
1 vote
1 answer
52 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 ...
Sajeeb Ahamed's user avatar
0 votes
1 answer
442 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....
Novice's user avatar
  • 101
0 votes
1 answer
37 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'...
Kuubs's user avatar
  • 345
1 vote
2 answers
396 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 ...
Eoin's user avatar
  • 1,909
1 vote
1 answer
33 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, ...
ThatsJustCheesy's user avatar
0 votes
1 answer
77 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?
brettv's user avatar
  • 21
1 vote
0 answers
108 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 ...
Michele's user avatar
  • 11
3 votes
3 answers
4k 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 ...
thednp's user avatar
  • 415
0 votes
1 answer
87 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 ...
Daniel Kiptoo's user avatar
0 votes
1 answer
156 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"...
Mateo Ratkajec's user avatar
0 votes
2 answers
179 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 ...
thednp's user avatar
  • 415
2 votes
2 answers
54 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=&...
thednp's user avatar
  • 415
0 votes
1 answer
64 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/...
Marco's user avatar
  • 629
0 votes
1 answer
75 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 ...
thednp's user avatar
  • 415
1 vote
1 answer
990 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 ...
Mohamed1308's user avatar
1 vote
1 answer
111 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 ...
Eoin's user avatar
  • 1,909
3 votes
1 answer
143 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 ...
Bold's user avatar
  • 123
2 votes
2 answers
2k 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 ...
Gillian's user avatar
  • 411
1 vote
1 answer
57 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 ...
Sajeeb Ahamed's user avatar
0 votes
1 answer
31 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?...
Sajeeb Ahamed's user avatar
0 votes
1 answer
70 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 |__|...
Sajeeb Ahamed's user avatar
1 vote
0 answers
122 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 ...
Gina Geick's user avatar
3 votes
0 answers
229 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 ...
thednp's user avatar
  • 415
0 votes
0 answers
50 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 ...
TVBZ's user avatar
  • 213
3 votes
1 answer
290 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....
Sandro Antonucci's user avatar
3 votes
2 answers
283 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?
shenkwen's user avatar
  • 1,389
0 votes
0 answers
405 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 ...
MatthiasDunkel's user avatar
0 votes
2 answers
372 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 ...
TVBZ's user avatar
  • 213
1 vote
1 answer
335 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 ...
ta1982's user avatar
  • 11
2 votes
1 answer
124 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 ...
Giovanni de Maria's user avatar
1 vote
1 answer
93 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 ...
webstackdev's user avatar

1
2 3 4 5
7