Forums / Developer / Contrib: personal folder

Contrib: personal folder

Author Message

Lex 007

Wednesday 07 September 2005 2:51:51 am

Hello everyone,

Check out the Contribs (Workflows section) and test my new contribution. Any feedback appreciated.

Description : Ability for registered users to automatically have a personal folder, where they can create content.

The zip file contains :
- a new workflow event, called "Create personal folder" (as an extension)
- a new trigger, called "user activate" (this is actually a hack)

The purpose is to create the personal folder when the user's account is activated, and to assign a specific role for this user on his personal folder, so that he can create objects under it.

Lex

Gabriel Ambuehl

Wednesday 07 September 2005 3:19:11 am

Nice. You can likely get rid of the creation of a role (which kinda bloats the role system with many users) after ParentOwner capability is integrated (3.8 I hope)!

Visit http://triligon.org

Aladdin Mouhaimeed

Wednesday 07 September 2005 6:56:15 am

At present, in order to allow users to add contents to their profiles, I make the user class as a container, and make the user object a parent node of all new created contents.
This is bothering some how, because you can't put the new object contents in a folder,
So your contrib seem to solve the problem, maybe.

Thank you Lex

Lex 007

Wednesday 07 September 2005 7:19:09 am

Gabriel > Is the performance impact so bad ?

Aladdin > You are welcome.

Gabriel Ambuehl

Wednesday 07 September 2005 7:26:42 am

To be honest, I didnt benchmark it. But it creates a giant mess which is relevant if you ever need to change something, that's for sure...

Visit http://triligon.org

John Smith

Monday 18 September 2006 9:43:28 am

Hi Lex,

Nice work...

Just want to know whether this extension works for 3.8 or only for 3.5/3.6.

Moreover would it be possible for anybody to let me know the license status for this extension. Can this extension be used as gpl under gpl and professional under professional license.

Please help....

Thanks......

Smith

eZ debug

Timing: Jan 18 2025 19:15:12
Script start
Timing: Jan 18 2025 19:15:12
Module start 'content'
Timing: Jan 18 2025 19:15:12
Module end 'content'
Timing: Jan 18 2025 19:15:12
Script end

Main resources:

Total runtime0.1889 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.7031180.8438
Module start 'content' 0.00740.0058 768.546997.8672
Module end 'content' 0.01320.1756 866.4141526.5234
Script end 0.1888  1,392.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.0779200.0002
Check MTime0.00180.9393200.0001
Mysql Total
Database connection0.00110.578610.0011
Mysqli_queries0.137872.94841410.0010
Looping result0.00160.83651390.0000
Template Total0.175392.810.1753
Template load0.00120.632610.0012
Template processing0.174192.157410.1741
Override
Cache load0.00090.495410.0009
Sytem overhead
Fetch class attribute can translate value0.00050.266110.0005
XML
Image XML parsing0.00030.146110.0003
General
dbfile0.00321.7000200.0002
String conversion0.00000.003230.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