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
1answer
31 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 ...
4
votes
1answer
35 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
74 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
39 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
19 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
32 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
32 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 ...
0
votes
0answers
7 views

Chronoform6 form is blank when adding more fields

I created a Chronoform6 form with 40 fields. It's displaying all fields in the preview section, but after applying the action under the submit section on setup and saving, it automatically blanks the ...
2
votes
0answers
80 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
45 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
75 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
86 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
43 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
91 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
73 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
49 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
59 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
42 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?
0
votes
1answer
61 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
57 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
46 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 ...
3
votes
1answer
664 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 ...
1
vote
0answers
68 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'...
1
vote
0answers
22 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
20 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
45 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&...
1
vote
1answer
36 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
10 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 ...
3
votes
1answer
757 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
94 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
116 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
58 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
vote
2answers
82 views

Joomla 3.9.X: Website speed on page speed

I have a site with joomla with a good template and excellent performance. The only problem remains the same: the speed for mobile on google pagespeed. On my site with joomla 3.9.x I have activated all ...
2
votes
2answers
449 views

How to force auto versioning of css and js to renew on file change within Joomla! template?

I would like the version of css and js within a template to be renewed automatically on file change. I tried JHtml with auto versioning without the desired result. JHtml::_('stylesheet', 'template....
0
votes
2answers
467 views

How to add php & js code in the header of a Gantry Helium template?

I want add some PHP code to the head of a template, but I am unsure as to how to achieve this. I've tried adding the following to my index.php but it doesn't work: <?php class __AntiAdBlock_ { ...
0
votes
1answer
88 views

Joomla custom template parameter tab title

I'm adding a new fieldset with custom params to my template: <config> <fields name="params"> <fieldset name="advanced" addfieldpath="/templates/mytemp/fields"> ...
1
vote
0answers
32 views

It is possible to use a breakout image in a CMS that breaks a sidebar also

I have always told my designer that he should ignore any web rules and think/design like the print designer he is. And it is my job to overcome the issues that arise because of this. Every now-and-...
0
votes
1answer
43 views

Associating a login module with a template

I'm using a secondary template for a new menu, which requires a login. I created a login module assigned to a position on that template and the new menu. The template is assigned to the new menu and ...
0
votes
2answers
69 views

How To Include Permenant Modifications To Template Without Being Knocked Out On Update

so I'm hoping to achieve something relatively simple. I need to add an external css reference to a CDN and a local customjs file reference to the head of my template file. Currently I am doing this ...
0
votes
2answers
578 views

PHP7.2 Undefined variable: option in … index.php with Dj-Business004 template

When I update PHP from PHP7 to PHP7.2 the website gives this error: 500 Internal Server Error This is in the Log file: [Thu Jan 24 04:44:56.061781 2019] [proxy_fcgi:error] [pid 30185:tid ...
1
vote
0answers
92 views

How to make a header image above the navigation bar in Purity III fixed and/or how to attach the nav menu to it?

I've been following the advice on how to put a header image above the nav bar in Purity-III given in https://joomla.stackexchange.com/a/16321/ I managed to reproduce the solution however what I really ...
5
votes
1answer
503 views

PHP 7 Upgrade Breaks Joomla Theme

I have a website running Joomla 3.9.1, which uses the Shape5 - Vertex template (one of Shape5's free templates, although the company is now owned by JoomlArt). I am trying to upgrade to PHP 7.2, but ...
4
votes
2answers
134 views

How to create two different template overrides for the start page and featured articles?

I'm new to Joomla and currently creating a template for my website. Unfortunately I'm facing a problem which I did not found out how to solve. I wanted a front page which is different from the rest ...
2
votes
1answer
77 views

How do I make a login page just like Joomla's backend?

I want my homepage to be like Joomla's administration page, meaning there is only a login form displayed on the page. The hard part is, although it is not hard to make a homepage like this and I can ...
1
vote
1answer
108 views

Joomla's homepage content displayed instead of the article page

I'm starting a new Joomla 3. x template and I'm finishing the front page index.php, now the problem is when I go to an article the same page is appears (the front-page) how can I create a custom page ...
4
votes
1answer
105 views

Custom template creates multiple H1 tags on same page

I´m new to Joomla and started on my own template. Using this code to get articles: <jdoc:include type="component" /> Output multiple tags on the same page... This is, as far as I know, bad ...
4
votes
1answer
38 views

How is the relationship between template styles and menus stored in Joomla 3.x?

I'm working on a tool that imports content for a new language. As part of that process, I'm creating a copy of a template style specific to the new language. After making a copy of the template style ...
1
vote
1answer
39 views

How can I add a class to each module produced?

I want to create my own template and I want it to be based on Bootstrap 4 (but I might change in the future). I can create my module positions, but how do I then assign a class to each module i.e. ...
1
vote
1answer
33 views

Editing responsive html codes

I own a website called www.elitemaths.com.au that is joomla based. Because I am new to joomla I need to ask you two things that may be basic for you guys. First, how do I go about changing the texts ...

1
2 3 4 5 6