Forums / Setup & design / Object Attributes in Templates

"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".

Object Attributes in Templates

Author Message

h8 me

Friday 06 May 2005 4:14:32 am

Hallo,

i have a problem:

i need to store an object attribute into an template variable. i'm fetching a list of objects and than i tried sth like :
let id = $:item.object.data_map.id
but it doesn't work. with attribute_view_gui attribute=$:item.... i can see the variable, but not save it !?!?

THX

Łukasz Serwatka

Friday 06 May 2005 7:33:03 am

Hi,

What datatype is id? If integer try use $:item.object.data_map.id.data_int

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog