- Thank you received: 0
[SOLVED] duplicate elements in Hot_Joomla_Carousel
- 
        tsubaza
 
- 
            
				 Topic Author Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        
            
        
                12 years 9 months ago         -  12 years 9 months ago        #24659
        by tsubaza
    
    
        
        
    
    
            
            
            
            
                                
    
                                                
    
        [SOLVED] duplicate elements in Hot_Joomla_Carousel was created by tsubaza            
    
        Last edit: 12 years 9 months ago  by tsubaza.            
            Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 9 months ago                #24667
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic duplicate elements (images) in Hot_Joomla_Carousel            
    
        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) {
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 Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        - Thank you received: 0
            
        
                12 years 9 months ago                #24749
        by tsubaza
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by tsubaza on topic duplicate elements (images) in Hot_Joomla_Carousel            
    
        I did exactly as asked, but failed.
continues doubling the last item on the list.
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.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 9 months ago                #24765
        by ivan.milic
    
    
    
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic duplicate elements (images) in Hot_Joomla_Carousel            
    
        then just do:
or ($loop = 0; $loop < $store_index - 1 ; $loop += 1) {
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 Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        - Thank you received: 0
            
        
                12 years 9 months ago                #24773
        by tsubaza
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by tsubaza on topic duplicate elements (images) in Hot_Joomla_Carousel            
    
        It worked!  :laugh:
thank you.
thank you.
Please Log in to join the conversation.
- 
        lisashimoni@gmail.com
 Inactive member
- 
            
				  
- New Member
- 
              
        Less
        More
        
            
    
        - Posts: 12
- Thank you received: 0
            
        
                12 years 6 months ago                #28615
        by lisashimoni@gmail.com
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by lisashimoni@gmail.com on topic duplicate elements (images) in Hot_Joomla_Carousel            
    
        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
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.188 seconds    
    
 
    