× Discussion about Hot Joomla Carousel Pro module

Topic-icon 2 instances of the module?

More
6 years 5 months ago - 6 years 5 months ago #13405 by skoegler
I have 1 instance of HOT Joomla Carousel PRO running as an article scroll across the top of my site. I want to add a 2nd instance as a 250x500 Right column list of articles.
When I add it, to the Right position, the top position is displaced and the module does not appear in the Right position. Is it necessary to make changes to the module to have it used in 2 positions?
Last edit: 6 years 5 months ago by skoegler.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #13406 by milos
Replied by milos on topic 2 instances of the module?
You can select Category as Source in module parameters.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #13408 by skoegler
Replied by skoegler on topic 2 instances of the module?
Sorry I changed my question... please re-read?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #13421 by ivan.milic
It's not supported to have two instances on same page, we can modify it if you would want custom job.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #13426 by skoegler
Replied by skoegler on topic 2 instances of the module?
What is required to modify to allow for multiple instances?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #13433 by ivan.milic
Open \modules\mod_hot_joomla_carousel_pro\tmpl\default.php to see what I'am talking about. When carousel is rendered containing div is like this:

<div id="hotcarouselmodule" class="hotcarousel hidecarousel">

css rules you can also see in beginning of that file mostly begin with .hotcarousel...

so thing is that you need to distinguish carousels on page. You need to generate unique identifier for each of instances so id will be then:

<div id="hotcarouselmodule-1" class="hotcarousel hidecarousel">


and css rules for it will be like this:

#hotcarouselmodule-1.hotcarousel...

this is rough explanation probably you have to get distinguished few other thins

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.124 seconds