I am using this statement inside a Static Text webpart. it works if I don't include the outer IF. It doesn't render anything if I include it. Please help with syntax. thank you {% if(Section2H...
Hey, I am trying to use a conditional if statement in my web part layout. I have a boolean property that I want to use to effect content.The problem is my conditional statement is not being resolve...
Can I write a elseif in Macro syntax ? Like: {% if(a == @value1@){ @some test 1@ }elseif(a==@value2@){ @some test 2@ }else{ @some test 3@ } %}
Hello everyone, I created a child page type for articles that are a part of another custom page type for topics. In my articles page type, I have a form control to select if it's a popular article....
Can I not target the 'Tag ID' of a URL? below is one of the methods I've tried so far:{% if (CMSContext.CurrentDocument.RelativeURL == @~/blog-(1)/?tagid=381@) { #%} Show this {% } else { #%} Show ...
Hi again Kentico guru's,I'm trying to make a list of categories and highlight one category if there is one specified in the url querystring (http://example.com/blog.aspx?categoryname=category). I a...
Hi, I am trying to add the following code into an html envelope. @nav aria-label=@{% CurrentDocument.DocumentName #%}menu@ class=@vs-menu-secondary {% CurrentDocument.DocumentName#%}@@{% if (Curre...