DNN.Blog icon indicating copy to clipboard operation
DNN.Blog copied to clipboard

Conditional Statements for Terms

Open SCullman opened this issue 8 years ago • 0 comments

I would like to react on certain categories or tags.

[if|1][categories][contains]Super[/if]
 <div>
      Jackpot
  </div>
[endif|1]

Possible operators could be contains/any or !contains/none.

I could also imagine a different syntax:

[subtemplate|JackpotTemplateFile.html|categories|Super]
[subtemplate|GeneralTemplateFile.html|categories|!Super]

SCullman avatar Apr 25 '17 21:04 SCullman