Search
Sunday, May 27, 2018
User manualsEasyDNNnews

EasyDNNnews User's manual

Expression tokens

Previous Article Token list
Next Article Querystring tokens

Expression tokens

The expression tokens check values such as category, author etc. in templates.

[EasyDNNnews:Expression:TokenName:operator:value]
[EasyDNNnews:EndExpression:TokenName]

operator: =, !=, >, >=, <, <=
value: value to compare

value types:
text: "some text"
number: 123
empty value: ""

Available news expression tokens:

  • articleid
  • artmid
  • userid
  • tagid
  • tagname
  • authorid
  • authorname
  • authorsecurityrole
  • profilegroupid
  • categoryid
  • categoryname


Examples:

[EasyDNNnews:Expression:ArticleID:=:150]
          This is article 150
[EasyDNNnews:EndExpression:ArticleID]

[EasyDNNnews:Expression:CategoryId:=:2]
          This is category 2
[EasyDNNnews:EndExpression:CategoryId]

[EasyDNNnews:Expression:CategoryName:=:"Blog articles"]
          This is category Blog articles
[EasyDNNnews:EndExpression:CategoryName]

[EasyDNNnews:Expression:AuthorSecurityRole:=:"Administrator"]
          Administrator security role
[EasyDNNnews:EndExpression:AuthorSecurityRole]

 

Previous Article Token list
Next Article Querystring tokens
Print
Last update: 09.03.2018 / Rate this article:
No rating

Name:
Email:
Subject:
Message:
x

Table Of Contents

Categories

Copyright 2018 by EasyDNNsolutions Terms Of Use Privacy Statement