I'm a newcomer in Kentico. I tried to use the @CurrentDevice@ from a macro to call an image server with the right values for the width and height (optimization purpose).I put in one of my page a static Html widget and I put this content :
{% CurrentDevice.ScreenPixelsHeight @%}
{% CurrentDevice.ScreenPixelsHeight #%}I read the documentation about macros and I can't figured what is going on.
I enabled the debugging but it seems that the K# is never triggered for this macro...
I also tried with other variables without success (not just only device).It always displayed the string without transformation in the page.Maybe I forgot something or I did something wrong.Someone could point me what I'm doing wrong?Thanks in advance
↧