category selection + workflow

Author Message

hafez ahmad

Sunday 12 November 2006 12:37:01 am

HI All,
I new with ezpublish , I want to force the editor when he edit article to select category and depend on this selection I will move the article to the category folder, do I have to use workflows ?, and if yes how can I create custom workflow?

thanks for help.

Xavier Dutoit

Monday 13 November 2006 2:27:19 am

Hi,

It's possible to define the parent node while editing an object. I'm afraid I don't have the syntax available at hand, but I'd suggest you to follow that option and create a select with the categories on your template to populate the list of available locations.

X+

http://www.sydesy.com

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 22:35:59
Script start
Timing: Jan 18 2025 22:35:59
Module start 'layout'
Timing: Jan 18 2025 22:35:59
Module start 'content'
Timing: Jan 18 2025 22:36:01
Module end 'content'
Timing: Jan 18 2025 22:36:01
Script end

Main resources:

Total runtime1.5208 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.0076 589.0391152.6250
Module start 'layout' 0.00760.0031 741.664139.4453
Module start 'content' 0.01071.5086 781.1094519.6797
Module end 'content' 1.51930.0014 1,300.78918.1641
Script end 1.5208  1,308.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2360160.0002
Check MTime0.00130.0884160.0001
Mysql Total
Database connection0.00120.076310.0012
Mysqli_queries1.473496.8825540.0273
Looping result0.00060.0398520.0000
Template Total1.480997.420.7405
Template load0.00270.175520.0013
Template processing1.478397.202020.7391
Template load and register function0.00030.023010.0003
states
state_id_array0.00200.128910.0020
state_identifier_array0.00320.211520.0016
Override
Cache load0.00220.1431120.0002
Sytem overhead
Fetch class attribute can translate value0.00070.048520.0004
Fetch class attribute name0.00130.087630.0004
XML
Image XML parsing0.00070.047420.0004
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00090.0562160.0001
String conversion0.00000.000740.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs