This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » creating a new class when publishing...

creating a new class when publishing an article

creating a new class when publishing an article

Thursday 06 May 2004 4:05:53 pm - 1 reply

Hi all...
I have this problem, i don't know how to solve it, I have extended the article class and added an object relation list to it, what i want to do is create a new object in this relation list when the publish button is pressed...
So far, i have done this, but the problem is that when you press the publish button it is created a new object but with empty attributes.. is there a way to create the object but with certain values for the attributes???

I don't know if I'm being clear in this stuff, but any idea or comment would be apreciated

Thanks and regards

Hugo Siles

Tuesday 11 May 2004 3:47:42 pm

Don't know if I get you right, but you could assign default values in the class setup.

Regards Bjørn


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from