Jump to content

[SOLVED] Default to featured products Velvet Sky theme


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...