Jump to content

option value for cms??


Recommended Posts

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?? thanks

here 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

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