ez.no / ezpublish / documentation / configuration / troubleshooting / mixing up node id and object id
These documentation pages are no longer maintained. Please visit the new documentation site.
Are you sure the ID is an Object ID and not a Node ID? The object ID is the one used in content/edit while the node ID is the one used for content/view. If you try to fetch object related info by referencing a node ID you will most likely not get what you want.
Example
{let test=fetch('content',object,hash(object_id,217))} {$test|attribute(show,1)} {/let}
217 must be the object number and not the node number. Check which number is used in the admin site if you edit the object.
Comments