Forums / Developer / ez3.1b1: Subtree Subscription Attribute
Tristan Koen
Tuesday 10 June 2003 5:54:26 am
This attribute has been added in ez3.1b1Does anyone know what it does, or how it works? Our website has some free and some 'pay' content. Can this attribute be used to implement this mechanism in ezPublish?
Paul Borgermans
Tuesday 10 June 2003 6:23:48 am
I posed a similar question, and looking at the code:
The subscription attribute is to be used to allow visitors to be notified when something changes or is added to the object as a child. I guess this will be most useful in forums, and comments with articles as it will create a notification rule for the user who clicks it (not seen in the svn templates yet).
To have free and pay content, you will have to implement roles (access to) and workflow (payment). This is not really in the base distribution, but the provided samples may give you a headstart. The "subscription" feature is probably useful too.
hth
Paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Bård Farstad
Tuesday 10 June 2003 6:28:32 am
The subtree subscription datatype works as follows. You create a class ( e.g. forum message ), which has this attribute. When a user creates a new message he sees a checkbox. When this checkbox is ticked off and the object is published a notification rule is created for the nodes this object is published in.
Then when someone creates an object under the created object the user will be notified about an update via the notification system.
--bård
Documentation: http://ez.no/doc
Thomas Brandl
Thursday 24 July 2003 9:34:13 am
Sounds just like a cool feature!
Vaskin Kissoyan
Thursday 13 May 2004 11:27:33 am
is the notification just for the owner?