[SOLVED] duplicate elements in Hot_Joomla_Carousel

  • tsubaza
  • Topic Author
  • Visitor
  • Visitor
11 years 4 months ago - 11 years 4 months ago #24659 by tsubaza
the module is displaying the last item (image) in duplicity
how do I solve this problem?



Attachments:
Last edit: 11 years 4 months ago by tsubaza.

Please Log in to join the conversation.

More
11 years 4 months ago #24667 by ivan.milic
try this , open:

modules\mod_hot_joomla_carousel_pro\tmpl\default.php

around line 206:

for ($loop = 0; $loop < $infinite_pics_number ; $loop += 1) {

replace with:

for ($loop = 0; $loop < $store_index ; $loop += 1) {

Please Log in to join the conversation.

  • tsubaza
  • Topic Author
  • Visitor
  • Visitor
11 years 4 months ago #24749 by tsubaza
I did exactly as asked, but failed.
continues doubling the last item on the list.

ivan.milic wrote: try this , open:

modules\mod_hot_joomla_carousel_pro\tmpl\default.php

around line 206:

for ($loop = 0; $loop < $infinite_pics_number ; $loop += 1) {

replace with:

for ($loop = 0; $loop < $store_index ; $loop += 1) {

Please Log in to join the conversation.

More
11 years 4 months ago #24765 by ivan.milic
then just do:

or ($loop = 0; $loop < $store_index - 1 ; $loop += 1) {
The following user(s) said Thank You: tsubaza

Please Log in to join the conversation.

  • tsubaza
  • Topic Author
  • Visitor
  • Visitor
11 years 4 months ago #24773 by tsubaza
It worked! :laugh:
thank you.

Please Log in to join the conversation.

More
11 years 3 weeks ago #28615 by lisashimoni@gmail.com
I am having the same issue.
I don't understand where on the default.php file I am supposed to add this line:

or ($loop = 0; $loop < $store_index - 1 ; $loop += 1) {

I tried to add it in place of
for ($loop = 0; $loop < $infinite_pics_number ; $loop += 1) {
and that did not work

And I tried to add it under
for ($loop = 0; $loop < $infinite_pics_number ; $loop += 1) {
and that also did not work.

Please let me know where in the default.php to add
for ($loop = 0; $loop < $infinite_pics_number ; $loop += 1) {
so that my last image won't repeat itself.

Thank you,
Lisa

Please Log in to join the conversation.

Time to create page: 0.373 seconds
Powered by Kunena Forum