Modules as content tree nodes

Author Message

Piotrek Karaƛ

Tuesday 20 November 2007 9:43:15 am

Maybe a risky question ;)

Is it possible to change the default behavior of eZ Publish where all content nodes encapsulate content to one where nodes encapsulate my own extension/module? For example:

+ root (id:2)
  + some content (id:100)
    + MODULE NODE (id:101)
  + other content (id:102)

So that <i>MODULE NODE</i> does not actually reach content data, but rather runs my own module? In other words, the URL <b>/root/some_content/module_node</b>, instead of being translated to <b>/content/view/full/101</b> or overriden in any way, gets translated into <b>/custommodule/customview/101</b>... ?
Would it be entirely against the core of eZ?

Please let me know what you think about it or what do I miss ;)

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 00:30:59
Script start
Timing: Jan 19 2025 00:30:59
Module start 'layout'
Timing: Jan 19 2025 00:30:59
Module start 'content'
Timing: Jan 19 2025 00:31:00
Module end 'content'
Timing: Jan 19 2025 00:31:00
Script end

Main resources:

Total runtime0.5881 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0469152.6250
Module start 'layout' 0.00540.0027 741.671939.4453
Module start 'content' 0.00810.5785 781.1172470.8047
Module end 'content' 0.58660.0014 1,251.92198.1641
Script end 0.5880  1,260.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5466160.0002
Check MTime0.00130.2256160.0001
Mysql Total
Database connection0.00070.110810.0007
Mysqli_queries0.549593.4453460.0119
Looping result0.00040.0748440.0000
Template Total0.559795.220.2798
Template load0.00200.343020.0010
Template processing0.557794.829920.2788
Template load and register function0.00010.015810.0001
states
state_id_array0.00110.184010.0011
state_identifier_array0.00110.190320.0006
Override
Cache load0.00160.2765120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.101010.0006
Fetch class attribute name0.00120.212320.0006
XML
Image XML parsing0.00050.077410.0005
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00080.1339170.0000
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7

Time used to render debug report: 0.0001 secs