Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Joomla Carousel Pro module

Topic-icon 2 instances of the module?

More
5 years 8 months ago - 5 years 8 months ago #13405 by skoegler
skoegler created the topic: 2 instances of the module?
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: 5 years 8 months ago by skoegler.

Please Log in to join the conversation.

More
5 years 8 months ago #13406 by milos
milos replied the topic: Re: 2 instances of the module?
You can select Category as Source in module parameters.

Please Log in to join the conversation.

More
5 years 8 months ago #13408 by skoegler
skoegler replied the topic: Re: 2 instances of the module?
Sorry I changed my question... please re-read?

Please Log in to join the conversation.

More
5 years 8 months ago #13421 by ivan.milic
ivan.milic replied the topic: Re: 2 instances of the module?
It's not supported to have two instances on same page, we can modify it if you would want custom job.

Please Log in to join the conversation.

More
5 years 8 months ago #13426 by skoegler
skoegler replied the topic: Re: 2 instances of the module?
What is required to modify to allow for multiple instances?

Please Log in to join the conversation.

More
5 years 8 months ago #13433 by ivan.milic
ivan.milic replied the topic: Re: 2 instances of the module?
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 to join the conversation.

Time to create page: 0.128 seconds

Links, Partners and Social Media