Share » Forums » Developer » XHTML-Tags & EMails

XHTML-Tags & EMails

XHTML-Tags & EMails

Friday 29 April 2005 6:15:47 am - 4 replies

Author Message

Xavier Dutoit

Sunday 01 May 2005 7:59:15 am

Hi,

Why aren't you using either tipafriend or informationcollector ? Might be easier than developing a new extension, isn't it ?

About your "distracting" xhtml tags, could you give us more infos ? It might be simply a matter of changing the template used by attribute_view_gui.

X+

http://www.sydesy.com

Pascal von Büren

Monday 02 May 2005 12:31:06 am

Hi Xavier,

I'm trying to extend <b>tipafriend</b> to send all information available to the sent node, not only a link refering to it, so it'd be an extended tipafriend-solution.

The problem is, that I can't use plain templates with attribute_view_gui, sent mails always have the standart templates for all attributes, so especially with Textarea, all the paragraphs, html-entities and so are displayed in the mail's body.

Looking at the notification template, i tried the following code to select plain templates:

{attribute_view_gui view=plain attribute=$attribute}

Maybe it's just the <b>view</b>-parameter that should be changed?

Thanks,

Pascal

Xavier Dutoit

Monday 02 May 2005 6:30:30 am

Hi,

Modify the tipafriend template, so you can send as many information as you want.

X+

http://www.sydesy.com

Daniel Beyer

Friday 01 July 2005 7:37:56 am

Hi Pascal,

instead of using

{attribute_view_gui view=plain attribute=$attribute}

just use this:

{include uri=concat("design:content/datatype/view/plain/",$attribute.contentclass_attribute.data_type_string,".tpl") attribute=$attribute}

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu