Home>Article>CMS Tutorial> 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 thein 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!