Share » Forums » Setup & design » [Solved] ezselection displayed as...

[Solved] ezselection displayed as radio buttons

[Solved] ezselection displayed as radio buttons

Thursday 09 March 2006 12:34:46 am - 4 replies

Modified on Wednesday 15 March 2006 5:18:09 am by Antoine Schmid

Author Message

Nabil Alimi

Thursday 09 March 2006 8:46:58 am

Hi Antoine,

Where is your $content_attributes variable defined ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Antoine Schmid

Friday 10 March 2006 1:34:27 am

Well...
That's a good question !

This code is inside an override of the user/register.tpl and the variable is accessible. But this is not the problem because it works with the other fields of the form (email, password, etc.)

In fact, it is as if the system was not able to read the content of the value="whatever" of the input.

Any idea ?

Antoine

Antoine Schmid

Wednesday 15 March 2006 5:08:51 am

The dates work ! I made a mistake.

But the radios buttons still don't work... As someone tried to do the same ?

Antoine Schmid

Wednesday 15 March 2006 5:19:46 am

IT WORKS !!!

"[]" was missing at the end of the name...

<input type="radio" value="1" id="privee1" name="ContentObjectAttribute_ezselect_selected_array_{$content_attributes[19].id}[]"/>

and not

<input type="radio" value="1" id="privee1" name="ContentObjectAttribute_ezselect_selected_array_{$content_attributes[19].id}"/>

Antoine

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu