Custom macro not resolve in page template

Prashant Verma asked on May 26, 2016 09:18

Hi all , I need to run custom macro in page template but it won't resolved ! any suggestion regarding the custom macro feasibility with page template.

Recent Answers


Anton Grekhovodov answered on May 26, 2016 10:10

Hi Prashant,

Custom macros work well in Portal Engine page templates. But you should check that you created a macro correctly: Registering custom macros

Also you can enable the macro debug

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 26, 2016 15:34

How are you using your macro. Your question is very vague and hard to troubleshoot when you give no details.

Technically, macros cannot be used in the template layout, you'd use your custom C# method or function. If you're using your macro within a web part property on the template, then I'd check out the Debug portion of Kentico.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.