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.
Artiseer
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
Find out which version the template is made with.
Artiseer version 2.5
file: /templates/template_name/html/modules.php
line 11
replace with
AND
line 41
replace with
AND
file: /templates/template_name/functions.php
line 134
replace with
AND
line 145
replace with
Artiseer version 2.4
file: /templates/template_name/html/modules.php
(about line 17)replace by:
AND
(about line 34)
replace by:
AND
(about line 25)
change to:
AND
(about line 46)
change to:
AND
(about line 48)
change to:
ANDfile: /templates/template_name/functions.php
find this code:
replace by:
AND
(in the same file a few lines under that)
replace by:
file: /templates/template_name/html/mod_mainmenu/default.php
line 137:
change to
Artiseer version lower then 2.4
file: /templates/template_name/html/modules.php
find this line:
change to:
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
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:
templates/template_name/layouts/module.php
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:
file: templates\template_name\html\modules.php
somewhere at the bottom of the code:
replace with:
In templates using YOOtheme's Warp CMS theme framework:
file: templates/template_name/layouts/module.php
line: 164 ( or somewhere at bottom of the code)
replace with:
If you are using the Corona-template also change this code:
line: 39
replace with:
file: templates/yoo_evolution/html/module.php
line: 23
replace with:
AND
replace with