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 use external conditions #4

Closed Timo-Breumelhof closed 4 years ago

Timo-Breumelhof commented 4 years ago

Conditions for #dnncms Style Helper based a value passed from the skin:

Attribute: IfExternal, takes a string and parses it to a Boolean.

Examples:

<script runat="server">
    Function Random() As String

        Dim RandGen As New Random

        Return  RandGen.Next(0, 2).ToString

    End Function
</script>