Forums / Setup & design / Collaboration messages - Default object view.

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?

eZ debug

Timing: Jan 31 2025 06:11:55
Script start
Timing: Jan 31 2025 06:11:55
Module start 'content'
Timing: Jan 31 2025 06:11:55
Module end 'content'
Timing: Jan 31 2025 06:11:55
Script end

Main resources:

Total runtime0.1615 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.0625180.8125
Module start 'content' 0.00480.0052 768.875093.9453
Module end 'content' 0.01000.1514 862.8203522.0000
Script end 0.1614  1,384.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00311.9422200.0002
Check MTime0.00120.7574200.0001
Mysql Total
Database connection0.00070.458210.0007
Mysqli_queries0.110768.55011410.0008
Looping result0.00130.79901390.0000
Template Total0.151093.510.1510
Template load0.00070.427910.0007
Template processing0.150393.085510.1503
Override
Cache load0.00050.297710.0005
Sytem overhead
Fetch class attribute can translate value0.00090.539210.0009
XML
Image XML parsing0.00030.161610.0003
General
dbfile0.01277.8811200.0006
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs