Forums / Setup & design / Content Object's is_published and status not the same?!

Content Object's is_published and status not the same?!

Author Message

Wei Dai

Monday 14 July 2008 10:41:44 pm

Hi,
Having a folder object publish. And I used the $folder_object|attribute(show, 2) to see the attribute, the is_published is set to 0 but the status is set to 1? What is the problem?

Certified eZ Publish 4 developer looking for develop information & collaboration.

Kristof Coomans

Tuesday 15 July 2008 12:24:20 am

Hi Wei

As far as I know the is_published attribute of ezcontentobject is a leftover from the old days and it doesn't have a meaning any more. Instead, the status attribute should be used indeed.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org