ez3.1b1: Subtree Subscription Attribute

Author Message

Tristan Koen

Tuesday 10 June 2003 5:54:26 am

This attribute has been added in ez3.1b1
Does 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?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 03:31:58
Script start
Timing: Jan 31 2025 03:31:58
Module start 'layout'
Timing: Jan 31 2025 03:31:58
Module start 'content'
Timing: Jan 31 2025 03:31:58
Module end 'content'
Timing: Jan 31 2025 03:31:58
Script end

Main resources:

Total runtime0.0246 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2500151.2266
Module start 'layout' 0.00570.0046 739.4766220.7031
Module start 'content' 0.01030.0128 960.17971,001.7891
Module end 'content' 0.02310.0015 1,961.968833.9922
Script end 0.0246  1,995.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.3709140.0002
Check MTime0.00104.2142140.0001
Mysql Total
Database connection0.00103.864810.0010
Mysqli_queries0.002911.688230.0010
Looping result0.00000.170310.0000
Template Total0.00124.710.0012
Template load0.00093.495010.0009
Template processing0.00031.156610.0003
Override
Cache load0.00052.224210.0005
General
dbfile0.00031.370580.0000
String conversion0.00000.040740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs