Author Topic

Edi Modrić

Friday 15 April 2011 7:59:37 am

Comment67372

Hi Eirik,

When adding class attribute through PHP, you also need to manually add the instance of that attribute to all of the existing objects manually.

There is a nice PHP script, addmissingobjectattributes.php, that does exactly that, so you can check it out.

It is located at:

https://github.com/ezsystems/ezscriptmonitor/blob/master/bin/addmissingobjectattributes.php

eZ Publish certified developer

http://ez.no/certification/verify/350658