Search
Tuesday, December 3, 2024
User manualsEasyDNNnews

EasyDNNnews User's manual

Querystring tokens

Previous Article Expression tokens
Next Article Custom fields expression tokens

Querystring tokens

The querystring tokens check values in query string links in templates.

[*EasyDNNnews:Querystring:querystringname:operator:value]
[*EasyDNNnews:Endif:Querystring:querystringname]

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

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

note: remove "*" from token examples

Examples:
[*EasyDNNnews:QueryString:CategoryId:=:2]
         This is category 2
[*EasyDNNnews:EndIf:QueryString:CategoryId]

[*EasyDNNnews:QueryString:CategoryName:=:"News"]
         This is category News
[*EasyDNNnews:EndIf:QueryString:CategoryName]

[*EasyDNNnews:Querystring:language:=:""]
          Language querystring doesn't exist
[*EasyDNNnews:EndIf:Querystring:language]

[*EasyDNNnews:Querystring:language:!=:""]
         Language querystring is not empty
[*EasyDNNnews:EndIf:Querystring:language]

Previous Article Expression tokens
Next Article Custom fields expression tokens
Print
Last update: 24.06.2021 / Rate this article:
3.7

Table Of Contents

Categories

Copyright 2024 by EasyDNNsolutions Terms Of Use Privacy Statement