Jump to content

Could anyone help change list to drop down


Dave L

Recommended Posts

Hi

 

I have installed a theme selector which lists all the installed themes with bullets in a block. The theme switches to one from the list when the link is clicked. I works well.

 

However, I would like to have most the listed themes in a drop down like the manufacturers block.

I have asked the developer of the block but he doesn't have time for it.

 

The first two entries should remain bullets with the remainder in a drop down.

 

Here's the code from the .tpl

 

</script>
{/literal}
<h4>{l s='Choose a Theme' mod='blockthemeselector'}<br /></h4>
<div class="block_content">
 <ul class="bullet">
{foreach from=$list_themes item=thm}
<li><a href="javascript:set_cookie('theme','{$thm.name}')">{$thm.name}</a></li>
{/foreach}
 </ul>
</div>
</div>

 

Could anyone advise how to do this please.

 

Thanks.

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...