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
44 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
37 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
37 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
27 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
42 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
2 answers
167 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
46 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
44 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
424 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
197 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
68 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
58 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
110 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
238 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
49 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
353 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
34 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
370 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,889
1 vote
1 answer
30 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
70 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
96 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
2 votes
2 answers
3k 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
  • 405
0 votes
1 answer
83 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
142 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
159 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
  • 405
2 votes
2 answers
53 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
  • 405
0 votes
1 answer
59 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
  • 551
0 votes
1 answer
74 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
  • 405
1 vote
1 answer
860 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
94 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,889
3 votes
1 answer
141 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
  • 103
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
55 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
29 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
67 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
112 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
216 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
  • 405
0 votes
0 answers
49 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
276 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
268 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,369
0 votes
0 answers
389 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
362 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
314 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
110 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
87 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
0 votes
1 answer
166 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?
Giovanni de Maria's user avatar
1 vote
1 answer
98 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 ...
Mike Hermary's user avatar
0 votes
2 answers
335 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 ...
Mike Hermary's user avatar

1
2 3 4 5
7