2 instances of the module?

  • skoegler
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 weeks ago - 13 years 2 weeks 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: 13 years 2 weeks ago by skoegler.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 2 weeks ago #13406 by milos
You can select Category as Source in module parameters.

Please Log in to join the conversation.

  • skoegler
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 weeks ago #13408 by skoegler
Sorry I changed my question... please re-read?

Please Log in to join the conversation.

More
13 years 2 weeks 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 to join the conversation.

  • skoegler
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 weeks ago #13426 by skoegler
What is required to modify to allow for multiple instances?

Please Log in to join the conversation.

More
13 years 2 weeks 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 to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum