Jump to content

Help changing selector from drop-down to link


radus

Recommended Posts

Hi,

This would require a template modification. Do you know how do edit .tpl files?

If you do, you can open up the module's .tpl, locate the <select> box and subsequent foreach statement, and change it to an <ul> with <li>s or something else you like.

If you don't it might be a problem, since there is no other way around

Link to comment
Share on other sites

You can do this:

{if $smarty.foreach.foreachname.interation == 3}
   {break}
{/if}

Inside the foreach loop. Of course, you have to change the foreachname thing here to the name of your foreach loop (which you called by assigning the "name" variable like "foreach name=foreachname from=...".

 

Fabio

  • Like 1
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...