Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Increase Testimonial Display Time on Ability Template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-12-2012, 02:43 PM
 
flysite.eu flysite.eu is offline
 

Member
  
Join Date: Feb 2012
Posts: 11
 

Default Increase Testimonial Display Time on Ability Template

Hi guys,

I want to increase the display time on the rotating testimonials in the footer.

Anyone know what I need to add to the code below to increase the display time? This is from the following file:

skin/ability/custom/footer/content/footer_testimonials.tpl

{literal}
<script type="text/javascript">
$(document).ready(function() {
$('ul#quotes').shuffle();
$('ul#quotes li').quovolver();
});
</script>
{/literal}

Any help appreciated.

Cheers

Rich
flysite.eu
__________________
www.flysite.eu
X-Cart DB Version: 4.4.5 GOLD

Checkout Module: One_Page_Checkout
Current Skin: Ability Template(/skin/ability)
Available Languages: de,en,es,fr,it
Enabled: Ability_Template; XMultiCurrency
Reply With Quote
  #2  
Old 02-12-2012, 03:30 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Increase Testimonial Display Time on Ability Template

skin/ability/custom/js/common.js

Around line 137, look for and tweak these values...

Code:
if(!speed)speed=500;if(!delay)delay=6000;
__________________
xcartmods.co.uk
Reply With Quote
  #3  
Old 02-12-2012, 04:46 PM
 
flysite.eu flysite.eu is offline
 

Member
  
Join Date: Feb 2012
Posts: 11
 

Default Re: Increase Testimonial Display Time on Ability Template

Hi Phil,

Thanks for that. I have changed the code in the footer and now I just my testimonials displayed as a list in the footer with no rotation.

Any other ideas?

I am also having troubles with the favicon set up. I will open a new post. Thanks for your quick replies.

Rich
__________________
www.flysite.eu
X-Cart DB Version: 4.4.5 GOLD

Checkout Module: One_Page_Checkout
Current Skin: Ability Template(/skin/ability)
Available Languages: de,en,es,fr,it
Enabled: Ability_Template; XMultiCurrency
Reply With Quote
  #4  
Old 02-13-2012, 05:57 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Increase Testimonial Display Time on Ability Template

The first method worked for me, for a 10 seconds transition use...

delay=10000;
__________________
xcartmods.co.uk
Reply With Quote
  #5  
Old 02-13-2012, 01:02 PM
 
flysite.eu flysite.eu is offline
 

Member
  
Join Date: Feb 2012
Posts: 11
 

Default Re: Increase Testimonial Display Time on Ability Template

Hi Phil,

I don't have the code your quoted in my addons_common.tpl file.

Ideas?

Thanks,

Richard
__________________
www.flysite.eu
X-Cart DB Version: 4.4.5 GOLD

Checkout Module: One_Page_Checkout
Current Skin: Ability Template(/skin/ability)
Available Languages: de,en,es,fr,it
Enabled: Ability_Template; XMultiCurrency
Reply With Quote
  #6  
Old 02-13-2012, 04:28 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Increase Testimonial Display Time on Ability Template

So sorry, I meant - skin/ability/custom/js/common.js
__________________
xcartmods.co.uk
Reply With Quote
  #7  
Old 02-13-2012, 04:59 PM
 
flysite.eu flysite.eu is offline
 

Member
  
Join Date: Feb 2012
Posts: 11
 

Default Re: Increase Testimonial Display Time on Ability Template

Thanks Phil. works great now.
__________________
www.flysite.eu
X-Cart DB Version: 4.4.5 GOLD

Checkout Module: One_Page_Checkout
Current Skin: Ability Template(/skin/ability)
Available Languages: de,en,es,fr,it
Enabled: Ability_Template; XMultiCurrency
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:37 PM.

   

 
X-Cart forums © 2001-2020