Forums / Setup & design / Object relations attribute / Comment67959
Andy Woods
Friday 13 May 2011 2:39:41 am
Hi Marko,
Thanks for your help - I added the following code and I the checkboxes are now displayed.
{def $current_user=fetch('user', 'current_user')}
{def $user_object=$current_user.contentobject} {def $user_object=$current_user.contentobject} {attribute_edit_gui attribute=$user_object.data_map.subscribed_categories}
Can you tell me if the following lines are what I need to begin the form with please?
<form enctype="multipart/form-data" method="post" action={concat( "/content/edit/", $object.id, "/", $edit_version, "/", $edit_language|not|choose( concat( $edit_language, "/" ), '' ) )|ezurl}>{include uri='design:content/edit_validation.tpl'}