Forums / Setup & design / Object ID mismatch

Object ID mismatch

Author Message

BJørnar Trondsen

Monday 07 August 2006 2:10:07 pm

In the admin panel, it says that a certain folder has Object ID 70. But when I print out $node.node_id in a full template override for class Folder, it says that the node_id is 72. All other nodes are 1 or 2 off. For example, another folder shows ID 102 in the admin panel while output on the user site, it says that the node ID is 101.

That is why overrides based on Node IDs doesn't work.

Is this a bug in eZ?

Xavier Dutoit

Monday 07 August 2006 2:33:05 pm

Hi,

Nodeid isn't the object id. THat's two different notion and for the same "thing" you have both a node and an object id, that have different values

I suggest that you read the documentation on that topic, that's pretty clear.

X+

http://www.sydesy.com

BJørnar Trondsen

Monday 07 August 2006 3:25:31 pm

Thanks mate. Here's the informatiom:
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/content_management/the_content_node

But how can I find the Node_ID from the admin panel?

Damien Pobel

Tuesday 08 August 2006 12:23:30 am

Hi,

You can click on "Details" between "Preview" and "Locations" then a new block call "Details" will appear under the Preview block with several cols or you can put the mouse pointer over an item in the tree menu (on the left) to view the "tooltip".

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish