Default Country

Author Message

Nebojsa Eric

Friday 25 August 2006 2:11:00 am

While registering user it is posible to specify a country. I want to default some country. Logic loops through the available attributes and I don't know where to put "selected" tag.

{section name=ContentObjectAttribute loop=$content_attributes sequence=array(bglight,bgdark)}
<input type="hidden" name="ContentObjectAttribute_id[]" value="{$ContentObjectAttribute:item.id}" />
<div class="block">
<p class="bodystyle"><strong>{$ContentObjectAttribute:item.contentclass_attribute.name}</strong><br>
{attribute_edit_gui attribute=$ContentObjectAttribute:item}</p>
</div>
{/section}

Nebojsa Eric

Friday 25 August 2006 2:22:49 am

Solved.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.