Forums / Setup & design / Mass node Hide/ Reveal ? Hidden as default status

Mass node Hide/ Reveal ? Hidden as default status

Author Message

Nabil Alimi

Tuesday 06 December 2005 4:14:46 am

Hi,

Is there a feature that allows users to hide multiple nodes at the same time ?

And can content be published with hidden status ?

Thanks !

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Frederik Holljen

Tuesday 06 December 2005 4:36:28 am

http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/content_management/node_visibility
This doc page explains how the hide functionality works.
A nice trick is to create a folder and to hide it. Publish all your new material in this folder (it will be hidden by the parent) and then unhide the folder when you are done. An alternative is to just move the new stuff to the real (visible) location when you are done.

Nabil Alimi

Tuesday 06 December 2005 5:10:46 am

Yes I checked that already. But here's the situation :
I have a blog class contains articles that themselves contains comments.

Comments should not be displayed before being validated by a moderator. I've been thinking of adding an "active status" to my content class but that's mean that for each comment, the moderator as to
- "Edit" content
- check/uncheck status box
- then validate and that's not what has been defined in the specifications...

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ɓukasz Serwatka

Tuesday 06 December 2005 6:10:46 am

Comments should not be displayed before being validated by a moderator. I've been thinking of adding an "active status" to my content class but that's mean that for each comment, the moderator as to 
- "Edit" content
- check/uncheck status box 
- then validate and that's not what has been defined in the specifications...

You can create a simple workflow for approving new content. Check this tutorial.

http://ez.no/products/ez_publish_cms/documentation/building_an_ez_publish_site/the_guestbook/creating_a_workflow

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Nabil Alimi

Tuesday 06 December 2005 10:48:58 am

Thanks Lukasz but in my case, I'm building a custom back-office and adding such feature means adding new templates that doesnt fit to the specifications.
And with this workflow, the moderator still needs to validate comments one by one.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

eZ debug

Timing: Jan 19 2025 06:18:36
Script start
Timing: Jan 19 2025 06:18:36
Module start 'content'
Timing: Jan 19 2025 06:18:36
Module end 'content'
Timing: Jan 19 2025 06:18:36
Script end

Main resources:

Total runtime0.1477 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.0070 589.1016180.8125
Module start 'content' 0.00700.0051 769.914198.0547
Module end 'content' 0.01220.1354 867.9688529.8750
Script end 0.1476  1,397.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.3883200.0002
Check MTime0.00140.9424200.0001
Mysql Total
Database connection0.00090.589810.0009
Mysqli_queries0.103169.79221410.0007
Looping result0.00130.90901390.0000
Template Total0.135091.410.1350
Template load0.00080.562710.0008
Template processing0.134290.878610.1342
Override
Cache load0.00060.381210.0006
Sytem overhead
Fetch class attribute can translate value0.00090.625210.0009
XML
Image XML parsing0.00020.140110.0002
General
dbfile0.00392.6467200.0002
String conversion0.00000.006030.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