devric Posted July 15, 2010 Share Posted July 15, 2010 Hi im trying to make a dropdown option for the cms/information as a menu, i got the manufacture one correct, but how to do it for the cms list?? thankshere is the manufacture one which is correct {if $manufacturers} <form action="{$smarty.server.SCRIPT_NAME}" method="get"> {l s='Manufacturer' mod='blockmanufacturer'} {foreach from=$manufacturers item=manufacturer} {$manufacturer.name} {/foreach} </form> {else} {l s='No manufacturer' mod='blockmanufacturer'} {/if} and here is what i try to do {if $cms} <form action="{$smarty.server.SCRIPT_NAME}" method="get"> {l s='Info' mod='blockcms'} {foreach from=$cms item=cms} {$cms.name} {/foreach} </form> {else} {l s='No Info' mod='blockcms'} {/if} Link to comment Share on other sites More sharing options...
devric Posted July 20, 2010 Author Share Posted July 20, 2010 hm no one have any ideas to get the option values for cms list??? 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