Forums / General / Default Country

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.