Home>Article>CMS Tutorial> When adding text, add the word [Picture] after the title.

When adding text, add the word [Picture] after the title.

(*-*)浩
(*-*)浩 Original
2020-01-07 15:14:20 2490browse

When adding text, add the word [Picture] after the title.

dedecms allows articles with pictures to add the word [Picture] after the title. If there is no picture, do not add

. Addto the corresponding position looped out under the arclist tag

Default thumbnails in .php etc.

[field:litpic runphp='yes'] $imgurl = @me; if(@me=="")@me="";else{ $imglink = '【图】'; @me=$imglink; } [/field:litpic]

This statement

If it is in the list page Call and comment out the

in include/arc.listview.class.php to handle the

if($this->Fields['litpic'] == '-' || $this->Fields['litpic'] == '') { $this->Fields['litpic'] = $GLOBALS['cfg_cmspath'].'/images/defaultpic.gif'; }
below some special fields

The above is the detailed content of When adding text, add the word [Picture] after the title.. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn