Modules Anywhere

The Modulklassensuffix from Module dont work

1 year 3 months ago #72135

Jens Steg's Avatar Jens Steg

Hello

I have noticed who I use their module Anywhere module and the modules have a module class suffix, this is not inserted in the HTML code. The module class suffix is ignored why?

Confidential information:
(hidden)

1 year 3 months ago #72158

Peter van Westen's Avatar Peter van Westen Admin

The place where you are placing the {module} tag is probably rendered after the head of the page has been rendered.
See if you can force the "Prepare Content" on that area.
For instance, you have that option in the Custom modules.

1 year 3 months ago #72252

Jens Steg's Avatar Jens Steg

Hello,

It is a finished module, so no custom modules, where I use the joomla internal commands {loadposition} and {loadmodule} it works great, which I would like the same module with its extension does not work it.

1 year 3 months ago #72253

Peter van Westen's Avatar Peter van Westen Admin

The module suffix is only placed if the module chrome (html style) supports it.
Check to see what the default is set to and try overriding it.
Read: www.regularlabs.com/extensions/modulesan...erruling-html-styles

1 year 1 month ago #73808

David Boggitt's Avatar David Boggitt

Hi,

I'm having the same issue on this page:

www.drb-holding3.co.uk/index.php

I've got two FAVcontent modules on the same page, but I'd like to hide the 3rd image div on the second module. I guess so you can have multiple modules on the same page, the FAVcontent modules have a different random ID every time.

Is there any way I can identify just the second module please?

Many thanks,

Dave.

1 year 1 month ago #73810

Peter van Westen's Avatar Peter van Westen Admin

Same answer.

But looks like you already have enough unique classnames and ids in your html to do what you want via css.
Like id="favcontent-10721".

Otherwise: just wrap your {module} tag in a div with a classname / id you want.

1 year 1 month ago #73811

David Boggitt's Avatar David Boggitt

The FAVcontent modules have a different random ID every time, but I'll try wrapping it in a div!

1 year 1 month ago #73812

David Boggitt's Avatar David Boggitt

Works a treat, thanks :)

1 year 1 month ago #73814

Peter van Westen's Avatar Peter van Westen Admin

Great! :)