Forums / General / attribute_edit_gui and ezcountry problem

attribute_edit_gui and ezcountry problem

Author Message

Bernhard Reiter

Thursday 17 March 2005 3:08:02 am

Hi,
I have installed the ezcountry datatype extension.
Then i have added an country attribute to the user class.
And in the admin interface all works fine, but then an normal visitor tries to sign up for the site, instead of an select just an normal input is shown.

part of the template code of the register.tpl:

<input type="hidden" name="ContentObjectAttribute_id[]" value="{$my_country.contentclass_attribute.id}" />
<div class="block">
<label>{$my_country.contentclass_attribute.name}</label><div class="labelbreak"></div>
{attribute_edit_gui attribute=$my_country}
</div>

From my understanding attribute_edit_gui should figure out the right datatype and show the corrresponding template for it.

Bernhard Reiter

Thursday 17 March 2005 3:12:56 am

Sorry, big stupid mistake from my side.
Just forget it ;-)