40fingers / StyleHelper-Sko

Manipulate DNNCMS HTML, JS and CSS in #dnncms
https://www.40fingers.net/Products/DNN-Stylehelper
7 stars 2 forks source link

Add a way to know if one or all of the passed tokens returned more than an empty string #5

Closed Timo-Breumelhof closed 3 years ago

Timo-Breumelhof commented 4 years ago

for instance for use of


<fortyfingers:STYLEHELPER
ID="FFSHopengraph1"
AddToHead="<meta property='og:image' content='//[Portal:Alias][Page:IconFileLarge]' >" runat="server" />

You only want to add this if there is a IconFileLarge...

Conditional Content using Style Helper based on Tokens:

"IfToken" will be true if it returns anything but an empty String

Examples: