Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Newsletter issue Macro View modes: 
User avatar
Certified Developer 8
Certified Developer 8
sparker-pmcworld - 10/28/2011 11:49:36 AM
   
Newsletter issue Macro
Hello,

Trying to add some macros to a newsletter issue without luck. I just want to see how this new feature works in 6.0 and the values never seem to show when i send the issue. Insert field works perfectly.

Does anyone have any examples of how this can be used?

User avatar
Member
Member
kentico_edwardh - 10/28/2011 7:59:05 PM
   
RE:Newsletter issue Macro
Hello,

Can you please let us know what you are using for macros within your newsletter, and what you are receiving when the macro is resolved.

An Email macro that will resolve the recipient e-mail address in a newsletter would look like:
{%Email%}

You can use macros as described on the link below
http://devnet.kentico.com/docs/6_0/devguide/index.html?newsletter_templates.htm

Best Regards,
Edward Hillard

User avatar
Certified Developer 8
Certified Developer 8
manoj-pulldigital - 6/26/2012 6:08:36 AM
   
RE:Newsletter issue Macro
Hi,

I am having the same problem, for example if I want a newsletter with some new stories / blog articles in the template. Obviously one cant use repeaters there and so the macros made sense, but the following does not work (based on the demo site):

{% CMSContext.Current.Documents["/News"].Children.WithAllData.ApplyTransformation("CMS.Root.NewsInText") %}

Any idea?

Regards
manoj

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 6/26/2012 8:54:54 AM
   
RE:Newsletter issue Macro
Hello,

This seems to be an issue with the current version. As a workaround a custom macro can be used. This behavior should be fixed in the 7.0 version of Kentico.

Best regards,
Boris Pocatko