discuz 论坛贴内标签怎么调用
如图在线等谢谢大神:hug: 大神们求助 求助 求助 求助求助在线等 我现在调用的是标题 标题有点长不是很合适 想调用那个贴内标签 内容页TAG代码$post
http://www.dz7.com.cn/discuz-790-1-3.html
(出处: DZ起点网_免费Discuz视频教程)
技术帮助 发表于 2015-7-24 00:45
内容页TAG代码$post
http://www.dz7.com.cn/discuz-790-1-3.html
(出处: DZ起点网_免费Discuz视频 ...
<!--{if $_G['setting']['thumbstatus'] && $attach['thumb']}-->
<img{if $attach['price'] && $_G['forum_attachmentdown'] && $_G['uid'] != $attach['uid']} class="attprice"{/if}
style="cursor:pointer" id="aimg_$attach" aid="$attach" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach}forum.php?mod=attachment{$is_archive}
&aid=$aidencode&noupdate=yes¬humb=yes{else}{$attach}$attach{/if}" file="{if $attach}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}
{$attach}$attachthumb{/if}" inpost="1" alt="$post" title="$_G" {if $_GET['from'] != 'preview'}{/if} />
<!--{else}-->
<img{if $attach['price'] && $_G['forum_attachmentdown'] && $_G['uid'] != $attach['uid']} class="attprice"{/if} id="aimg_$attach
" aid="$attach" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes¬humb=yes
{else}{$attach}$attach{/if}" file="{if $attach}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach}$attach
{/if}" $widthcode id="aimg _$attach" inpost="1" alt="$post" title="$_G" {if $_GET['from'] != 'preview'}{/if} />
<!--{/if}--> 技术帮助 发表于 2015-7-24 00:45
内容页TAG代码$post
http://www.dz7.com.cn/discuz-790-1-3.html
(出处: DZ起点网_免费Discuz视频 ...
我把代码贴出来吧 两段代码alt=“$post” 调用出来的是数组array lxy136997084 发表于 2015-7-28 09:23
我把代码贴出来吧 两段代码alt=“$post” 调用出来的是数组array
<!--{eval print_r($post);}-->//打印出数组,看看里面的结构
<!--{loop $post $tag}--> //loop循环
$tag
<!--{/loop}--> 技术帮助 发表于 2015-7-28 12:41
//打印出数组,看看里面的结构
//loop循环
不会了,看不懂,我是个新手{:3_44:}
页:
[1]
2