10
votes
How to display module in component area
To enhance the given answers here:
To include a modul position in your component view and to load modules there, you just have to add
echo JHtml::_('content.prepare', '{loadposition ...
9
votes
How do I override the CSS styles in my template?
Joomla 3.5+ (Protostar template)
As of Joomla 3.5, you're able to create file called user.css and place it in:
templates/protostar/css/user.css
Note: the file name must be user.css
The protostar ...
9
votes
Accepted
How to permanently remove/disable default Joomla templates
You can't prevent Joomla from upgrading her core templates. They are in there for a reason as a part of default installation. I am afraid you will just have to learn how to live with them. I did the ...
8
votes
Accepted
Is it possible to load a newer jQuery version?
Or does Joomla really need the 1.x version?
Joomla itself may work mostly fine with newer jQuery versions. The reason it ships with such an old version is compatibility for 3rd party extensions.
So ...
7
votes
Joomla constant to current template path
Look at https://gist.github.com/leFlea-snippets/4602845
PHP: Joomla - Get active template path
// Get active template path from anywhere on Joomla:
$app = JFactory::getApplication();
$path = ...
7
votes
Is development of template from scratch really worthwhile?
In my opinion, it can depend on the complexity of the site.
For example, if a client wanted a fairly basic site with a custom design, I'd duplicate Protostar (default Joomla 3.x template). Then strip ...
6
votes
Accepted
Update Server for template
I think the article is not up-to-date because update server is working properly with template.
Here's the code I use in the templateDetails.xml
<updateservers>
<server type="extension" ...
6
votes
Making an ajax-based template?
My advice to you - avoid this. It's a recipe for many problems. A website owner who wanted this ended up paying us a lot of money just to fix the problems that arose from using this strategy (there ...
6
votes
Accepted
Remove "Joomla! Hosting from cloudaccess.net" in CloudBase3 template
You can also modify the code directly by opening the file
../templates/cloudbase3/features/branding.php using your favorite php editor.
At lines 21-24 you will see this code :
<div class="rt-...
6
votes
Accepted
Different templates for viewing and editing articles
It's actually possible by overriding it via 3rd party plugin. You can create a simple system plugin calling setTemplate() method when the onAfterRoute event occurs :
public function onAfterRoute() {
...
6
votes
How to force auto versioning of css and js to renew on file change within Joomla! template?
The old and deprecated way is to place MD5SUM file in the asset folder and have it updated whenever an asset file is modified. Once you create the file, add assets without version or with md5sum as ...
5
votes
How do I override the CSS styles in my template?
Helix Framework (JoomShaper)
Another Joomla template framework, that facilitates the customization workflow.
Helix Framework templates provide as well an easy way to add your custom styles with 2 ...
5
votes
How to convert / migrate a Joomla 2.5 template into Joomla 3
Some links that might be of help:
Template Considerations during Migration
Converting previous Joomla templates
Migrating a template from J1.5 to J3
StackOverflow - converting a J2.5 to J3 ...
5
votes
Accepted
How to create a custom 404 Error page for every language
you also could use the standard 404 (or similar) php-file of your template if it already exists. The Joomla! alias standard would be /404 or /404.html according to the global configuration for the ...
5
votes
Is development of template from scratch really worthwhile?
I also use protostar as a base template to develop a custom one in many cases. There is nothing bad with this approach. I can even do the same with other templates. And there is always the case where ...
5
votes
Is development of template from scratch really worthwhile?
The case for using a standard template
I tend to use the same base template (from a leading template developer) for most projects.
Template features which I don't use can be disabled to keep the ...
5
votes
How to change the favicon in Joomla
The favicon.ico file needs to be copied to the default template folder. For example, if you are using the Protostar template, the file would be copied to:
/templates/protostar/favicon.ico
You might ...
5
votes
How to permanently remove/disable default Joomla templates
What I do is to go in:
Extensions -> Manage
and disable any extensions, templates that I don't use. Of course if we are talking about 3rd party extensions, I totally uninstall them - but disable ...
5
votes
Accepted
Template module names based on position
If you mean programatically, JModuleHelper should return the info you need.
$modules = JModuleHelper::getModules('position-1');
print_r($modules);
5
votes
Accepted
How is the relationship between template styles and menus stored in Joomla 3.x?
template_style_id column in #__menu table.
5
votes
Accepted
Joomla 3.9 not reading language override strings for English only
I was not able to duplicate your issue. I used the Joomla core Beez3 template to test this, where the template by default has the language files in main (Joomla root) Language folder and at the same ...
4
votes
How to convert / migrate a Joomla 2.5 template into Joomla 3
The process of converting a Joomla 2.5 template into 3.4 is removing deprecated and removed functions.
It's more difficult if the template has older legacy functions from Joomla 1.6, and 1.7.
Here ...
4
votes
Is development of template from scratch really worthwhile?
I build my own templates. My experience is that using a 'bought or free' template gives me lot of headaces, and take at least as much time to develop my own.
If you build your own you have more ...
4
votes
Assign template to user
I believe you'd need to write/find a plug-in to fully achieve that. The following question gives a basic framework for such a plugin:
https://stackoverflow.com/questions/20049266/how-to-set-a-...
4
votes
Does Joomla have back-end theme editor functionality, just like WordPress?
Yes, it has as well. While you are in admin area, from the top menu, go to
Extensions > Templates > Templates
Then click on the template name you want to edit its files. Now you can select a file ...
4
votes
Accepted
Custom template creates multiple H1 tags on same page
The issue of multiple H1 tags was introduced because the page I was viewing was showing featured articles.
Solution was to make an override of com_contents featured file by changing h1 to h2 in the ...
4
votes
PHP 7 Upgrade Breaks Joomla Theme
From the call stack it is obvious that a function call fails in vertex cms_core_functions.php, which function tries to load the modules on your page in positions, but instead of 2 arguments, it gets ...
4
votes
Randomly render one of the modules in a given position
Have a look at the Module Helper documentation.
getModules(): Get modules by position
getModules(string $position) : array static
since 1.5
Arguments
$position string The position of the module
...
4
votes
Accepted
How can I add a local custom javascript file into the bottom of the template's index.php file?
Unfortunately Casseopeia (default Joomla 4 frontend template) uses the following:
<jdoc:include type="scripts" />
inside the <head> tags at the top of the DOM, so any script ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
templates × 321joomla-3.x × 119
css × 42
template-override × 21
php × 20
module × 20
joomla-2.5 × 15
overrides × 15
development × 13
joomla-3.4 × 11
extensions × 11
component × 10
menu × 10
articles × 9
menu-item × 9
joomla-4.x × 9
layout × 9
joomla-3.5 × 8
helix3 × 8
positions × 8
javascript × 7
administrator × 7
joomla-3.3.x × 7
t3-framework × 7
plugin × 6