Fix your template module override to include the css-class-suffix
You are probably using a 3rd party template which uses a module-override which is not parsing the module css-class-suffix properly. Templates by YOOtheme and some Artiseer templates seem to have this issue.
In case you want to hide modules with Frontend-User-Access and are wondering if this is a template issue, set your site-template to Joomla's default 'rhuk_milkyway' and check if modules are hidden.
What some templates do wrong is that they totally ignore the css-class-suffix as set in the module configuration (try it!). To make Frontend-User-Access hide modules, this must be fixed in your template.
The fixes underneath will basically add the suffix to the style, which allows fua to hide it, and giving frontend-developers control over style.
If you have this issue but can not work this out, please contact us. We will be happy to fix your template.
Different versions of Artiseer produce different types of module-overrides. So you need to check with which version of Artiseer the template is made, and do the alteration(s) for that version to make the template stop ignoring any extra css-class-suffix. We are really sorry we can not make this any easyer for you.
Templates made with:
- Artiseer version 3. No alterations needed!
- Artiseer version 2.5
- Artiseer version 2.4
- Artiseer version lower then 2.4
file: /templates/template_name/html/modules.php(about line 17)
(about line 34)
(about line 25)
(about line 46)
(about line 48)
find this code:
(in the same file a few lines under that)
Artiseer version lower then 2.4
find this line:
That should make the hiding of modules work.
Find out which version of Artiseer a template has been made
- open file: /templates/template_name/html/modules.php
- search for this code around line 33:
if the code is in there the template seems to be made with version 3. No alterations are needed!
- search for this code around line 11:
if the code is in there the template seems to be made with version 2.5. Alterations.
- search for this code around line 17:
if the code is in there the template seems to be made with version 2.4. Alterations.
- search for this code:
if the code is in there the template seems to be made with a version lower then 2.4. Alterations.
Yootheme template's come in 3 flavours, with the Warp-framework, without the Warp-framework and the evolution-template.
To check if your template uses the Warp-framework check if this file exists in your site:
If the above file exists, your template uses the Warp-framework. If the file does not exist in your site, your template is not using the Warp-framework.
In templates NOT using YOOtheme's Warp CMS theme framework:
somewhere at the bottom of the code:
In templates using YOOtheme's Warp CMS theme framework:
line: 164 ( or somewhere at bottom of the code)
If you are using the Corona-template also change this code: