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

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 19 2025 06:06:16
Script start
Timing: Jan 19 2025 06:06:16
Module start 'layout'
Timing: Jan 19 2025 06:06:16
Module start 'content'
Timing: Jan 19 2025 06:06:17
Module end 'content'
Timing: Jan 19 2025 06:06:17
Script end

Main resources:

Total runtime1.2981 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.2891152.6406
Module start 'layout' 0.00610.0039 741.929739.4922
Module start 'content' 0.01001.2866 781.4219617.4922
Module end 'content' 1.29670.0014 1,398.914116.1250
Script end 1.2981  1,415.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2478160.0002
Check MTime0.00130.1027160.0001
Mysql Total
Database connection0.00070.056810.0007
Mysqli_queries1.240295.5356650.0191
Looping result0.00070.0567630.0000
Template Total1.264197.420.6320
Template load0.00200.152520.0010
Template processing1.262197.222920.6310
Template load and register function0.00010.006510.0001
states
state_id_array0.00090.066410.0009
state_identifier_array0.00170.133120.0009
Override
Cache load0.00160.1271300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.061330.0003
Fetch class attribute name0.00250.194880.0003
XML
Image XML parsing0.00160.124730.0005
class_abstraction
Instantiating content class attribute0.00000.0016100.0000
General
dbfile0.00130.1019300.0000
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs