Forums / Developer / Question about eZ possibilities

Question about eZ possibilities

Author Message

Noicokuna Niemoge

Wednesday 18 March 2009 1:09:02 am

Hello;

I have two questions concerning eZ possibilities:

1. Is it possible to create blog with subcategories, so that on one blog calendar are displayed posts from all "sub blogs" or blog subcategories?

2. Is it possible for the users to have their private file space (yes) AND to allow them re-use their files in content they create? (blog posts)

Thanks in advance :)

Shiki soku ze ku...

André R.

Wednesday 18 March 2009 4:59:57 am

1. yes, you can either define your own class as 'blog_container' for several blogs, or use folder and override it's presentation to your needs.

2. private space: as of 4.1 yes, using content create rules limited by parent owner (need script to create the user folder with user as owner, example can be found here: http://serwatka.net/blog/ez_publish_3_8_new_custom_edit_handler)
re use: a bit more tricky, could maybe be done by creating a folder media section that they own, and somehow make the editor use that folder as start folder for browsing and searching (should be possible by overriding templates of ezoe)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Noicokuna Niemoge

Wednesday 18 March 2009 6:19:51 am

Thank you very much for pointing me directions in which I should go :)
It was exactly what I needed ^^

I was asking about private user space and re-use of files, because I would want users of my site to write blogs and add pictures to them. At the same time, it would be nice not to have a mess, and that user pictures would be stored in their folders. I hope I'll manage to solve this. :)

Shiki soku ze ku...

Andreas Kaiser

Wednesday 18 March 2009 10:10:31 am

For creating personal private folder (or private space) you also can try the personal folder extension.

We have used it in some projects, just remember to configure roles policies to let only owner of a object modify it, view it, etc

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Noicokuna Niemoge

Wednesday 18 March 2009 10:40:51 am

Thank you for replies. :)

As for user blogs, I'd like users to create blogs under a category with right permissions. And there, I would place a button "Create your blog"...

And here questions start :)

1. Is it possible to make the button appear only for users which don't have a blog yet? At the same time, is it possible to limit their "create blog" ability so that they can create only 1 blog?

2. I understand that some things I want would require editing the Online Editor interface. Is it possible to limit OE functions for a group of users or maybe create a modified copy of OE and let them use that one? Does anybody have experience with it?

3. Will i have to generate rss feeds for each blog created by users manually or are they created automatically?

Thanks in advance :)

Shiki soku ze ku...

eZ debug

Timing: Jan 18 2025 05:08:19
Script start
Timing: Jan 18 2025 05:08:19
Module start 'content'
Timing: Jan 18 2025 05:08:19
Module end 'content'
Timing: Jan 18 2025 05:08:19
Script end

Main resources:

Total runtime0.1534 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.7109180.8359
Module start 'content' 0.00660.0050 768.546997.8672
Module end 'content' 0.01160.1417 866.4141526.0234
Script end 0.1533  1,392.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.1735200.0002
Check MTime0.00140.8817200.0001
Mysql Total
Database connection0.00090.616210.0009
Mysqli_queries0.109571.40511410.0008
Looping result0.00130.87181390.0000
Template Total0.141492.210.1414
Template load0.00080.515810.0008
Template processing0.140691.655610.1406
Override
Cache load0.00060.361910.0006
Sytem overhead
Fetch class attribute can translate value0.00060.359310.0006
XML
Image XML parsing0.00020.125910.0002
General
dbfile0.00221.4375200.0001
String conversion0.00000.016530.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