Collaboration messages - Default object view.

Author Message

Lukasz Piech

Wednesday 27 June 2007 5:34:38 am

Hi

I have tried several tricks but dont know how to create a custom view form Collaboration messages in Collaboration inbox. I always get "Default object view. Click to create a custom template,"

Could you help?

Thanks

Lukasz

Lukasz Piech

Monday 02 July 2007 8:34:28 am

Anyone?

Bartek Modzelewski

Monday 02 July 2007 11:33:30 pm

Hi Lukasz

All you have to do is to add into override.ini in your admin interface the following code:

[article_coll]
Source=node/view/plain.tpl
MatchFile=coll/article.tpl
Subdir=templates
Match[class_identifier]=article

In this example you will override plain.tpl template which is used by default by article.tpl placed in coll folder - for artilce content class.
You can put override template file in separate extension if you don't want to add files into design/admin folder. Correct path should be:

extension/{your_ext_name}/design/admin/override/templates/coll/article.tpl

Just remember to create also design.ini file in your extension.

Good luck.

Baobaz
http://www.baobaz.com

Lukasz Piech

Tuesday 03 July 2007 1:17:47 am

Bartek,

I dont think i get your reply.

COllaboration messages are from the approval workflow and (i think) there is no special folder coll or collab or anything.

Can you explain a bit more.

The collaboration messages cannot be done by providing a node id too.

This sounds simple but I cannot figure it out

Dziekuje

Lukasz

Lukasz Piech

Monday 09 July 2007 8:29:45 am

Could anyone help here?

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

Main resources:

Total runtime0.6609 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0469152.6406
Module start 'layout' 0.00520.0033 740.687539.4766
Module start 'content' 0.00850.6510 780.1641515.1250
Module end 'content' 0.65950.0014 1,295.289112.4375
Script end 0.6609  1,307.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5018160.0002
Check MTime0.00130.1940160.0001
Mysql Total
Database connection0.00080.116210.0008
Mysqli_queries0.609592.2239630.0097
Looping result0.00050.0789610.0000
Template Total0.625594.620.3128
Template load0.00210.322720.0011
Template processing0.623494.319920.3117
Template load and register function0.00010.020010.0001
states
state_id_array0.00090.140310.0009
state_identifier_array0.00070.112020.0004
Override
Cache load0.00180.2667300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.088420.0003
Fetch class attribute name0.00110.162250.0002
XML
Image XML parsing0.00020.029820.0001
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00270.4043100.0003
String conversion0.00000.001040.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs