radus Posted January 1, 2013 Share Posted January 1, 2013 Hello all, Please help to change Manufacturers selector, from drop-down selector type to link type Thanks, r Link to comment Share on other sites More sharing options...
NemoPS Posted January 2, 2013 Share Posted January 2, 2013 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 More sharing options...
radus Posted January 3, 2013 Author Share Posted January 3, 2013 Thanks a lot for advice Nemo, Could you be so kind and suggest how to control the number of displayed <li> ? Cheers, r PS. Your tutorials on http://nemops.com/category/tutorials/ are BRILLIANT Link to comment Share on other sites More sharing options...
NemoPS Posted January 3, 2013 Share Posted January 3, 2013 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 1 Link to comment Share on other sites More sharing options...
radus Posted January 5, 2013 Author Share Posted January 5, 2013 mille grazie ! Radu 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