The calling method and related problems of the simple title (subtitle, short title) tag of Zhimeng DedeCMS

DedeCMS Short title (Subtitle, short title), let's explain the use of this short title and related issues.

label:

[field: title/] Full title
[field: shorttitle/] Short title
[field: picname/] thumbnail image address

1、 Short title call tag:

1.{dede:field.shorttitle/}

It cannot be applied in the {dede: arclist} tag, and is generally placed at the title of the webpage;

2.[field:shorttitle/]

It can be applied in the {dede: arclist} tag, generally used in column lists.

2、 When there is a brief title, the brief title will be displayed; when there is no brief title, the positive title will be displayed:

1.{dede:field name=’array’ runphp=’yes’} if(@me[‘shorttitle’]==”) @me=@me[‘title’]; else @me=@me[‘shorttitle’];

Post reply

Can't comment until