Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Custom Macro Paremeters View modes: 
User avatar
Certified Developer 8
Certified Developer 8
richard - 11/29/2009 6:17:55 PM
   
Custom Macro Paremeters
I have developed a custom macro in CMSCustom.cs which returns HTML.

The code that appears in the Invoice template is HTML encoded. I have tried using

{% ProcessCustomMacro("MYCUSTOMMACRO", "|(encode)false") %}

{#MYCUSTOMMACRO#|(encode)false}

but it does not work.

Any ideas?


User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/30/2009 10:56:48 AM
   
RE:Custom Macro Paremeters
Hello.

This calling of your custom macro function seems to be correct: {% ProcessCustomMacro("MYCUSTOMMACRO", "|(encode)false") %} Could you please send me that function to support@kentico.com (please refer to this forum post) so I can test it on my computer? Thank you.

Best Regards,
Radek Macalik
Support Engineer