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?