Davidh Posted February 6, 2012 Share Posted February 6, 2012 Hi, My site www.diviniwoman.com uses Velvet Sky theme by Dapurpixel. The combined new/featured products slider on the home page defaults to new products. I'd like to default to featured-products. Is there a way to change this in the code, and anyone able to direct me where to alter it? Thanks, David Link to comment Share on other sites More sharing options...
Davidh Posted February 7, 2012 Author Share Posted February 7, 2012 I muddled through the code and solved the problem. Here's how I did it. in Modules > comboslider.tpl Change lines 24 - 29 from (basically switch the $defaulttab numbers): {if $displayfeatured} <li><a href="#new" {if $defaulttab=="1"} class="selected"{/if}>{l s='New products' mod='comboslider'}</a></li> {/if} {if $displaynew} <li><a href="#featured" {if $defaulttab=="0"} class="selected"{/if}>{l s='Featured products' mod='comboslider'}</a></li> {/if} to {if $displayfeatured} <li><a href="#new" {if $defaulttab=="0"} class="selected"{/if}>{l s='New products' mod='comboslider'}</a></li> {/if} {if $displaynew} <li><a href="#featured" {if $defaulttab=="1"} class="selected"{/if}>{l s='Featured products' mod='comboslider'}</a></li> {/if} Seems to work for now without any knock on problems ...yet Changing post to SOLVED David Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now