Forums / Developer / ez3.1b1: Subtree Subscription Attribute

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?

eZ debug

Timing: Jan 30 2025 21:16:47
Script start
Timing: Jan 30 2025 21:16:47
Module start 'content'
Timing: Jan 30 2025 21:16:47
Module end 'content'
Timing: Jan 30 2025 21:16:47
Script end

Main resources:

Total runtime0.2009 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.0313370.2891
Module start 'content' 0.00840.0141 958.32031,005.5313
Module end 'content' 0.02250.1784 1,963.85163,893.6172
Script end 0.2009  5,857.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00462.2882200.0002
Check MTime0.00140.6777200.0001
Mysql Total
Database connection0.00070.369810.0007
Mysqli_queries0.103851.64921410.0007
Looping result0.00140.68161390.0000
Template Total0.177988.510.1779
Template load0.00090.449910.0009
Template processing0.176988.058110.1769
Override
Cache load0.00060.320610.0006
Sytem overhead
Fetch class attribute can translate value0.00211.030110.0021
XML
Image XML parsing0.00020.109510.0002
General
dbfile0.00783.8687200.0004
String conversion0.00000.004230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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