Forums / Developer / help: workflow and template parameters / Comment41148
Alessandro Cipriani
Monday 19 July 2004 2:03:43 am
hi paul thanx a lot for your answers, all very usefulnow the things get more complicated:
the 'newly created object' is a user class extended by me, and i'm having some trouble extracting all the attributes i need to work
in the .tpl file i get the attributes i need in this way:
login: $current_user.contentobject.data_map.user_account.content.loginmy_attribute: $current_user.contentobject.data_map.my_attribute.content
but in my php file i'm not able to get them!
for the login attribute i tried:
$dataMap = $currentVersion->dataMap(); $userAccount = $dataMap['user_account']; $login=$dataMap->login();
but i get an errorno idea for the other attribute
any hint?
best regardsalessandro