How to approve before publishing uploaded new images

Author Message

Mindaugas Rimgaila

Thursday 23 February 2006 11:43:01 am

I want to make some workflow for approveing new uploaded, or changed images in object, all other class variables should be published.

I think something about making my own ezimage datatype, or to make some custom triger, which would set some values in object, indicating that this image is not approved.

Any sugestions?

Pascal France

Thursday 23 February 2006 1:36:15 pm

Hi,

I'm realy interresting by the solution too.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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 18 2025 19:30:21
Script start
Timing: Jan 18 2025 19:30:21
Module start 'layout'
Timing: Jan 18 2025 19:30:21
Module start 'content'
Timing: Jan 18 2025 19:30:22
Module end 'content'
Timing: Jan 18 2025 19:30:22
Script end

Main resources:

Total runtime0.6572 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.9297152.6563
Module start 'layout' 0.00680.0035 742.585939.5078
Module start 'content' 0.01030.6455 782.0938483.3594
Module end 'content' 0.65590.0013 1,265.45318.1094
Script end 0.6571  1,273.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4877160.0002
Check MTime0.00130.1987160.0001
Mysql Total
Database connection0.00140.210510.0014
Mysqli_queries0.617793.9966540.0114
Looping result0.00050.0805520.0000
Template Total0.625095.120.3125
Template load0.00190.295120.0010
Template processing0.623194.816820.3115
Template load and register function0.00020.026210.0002
states
state_id_array0.00210.314710.0021
state_identifier_array0.00100.156120.0005
Override
Cache load0.00160.2412100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.072620.0002
Fetch class attribute name0.00090.143320.0005
XML
Image XML parsing0.00020.028220.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00060.0967100.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs