Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

平湖首页幻灯片修改问题

[复制链接]
creatgain 发表于 2009-4-12 10:55:41 | 显示全部楼层 |阅读模式
20微币
本帖最后由 creatgain 于 2009-4-20 15:35 编辑

原版的平湖首页幻灯片是调用第1.,2分类的资讯图片,但是我想将它改为调用论坛最新帖子的图片,需要怎么更改呢?哪位朋友第一个告诉答案就有金币松,呵呵

最佳答案

查看完整内容

上面没有选择,我来回答,郁闷,重来
qhdyezhu 发表于 2009-4-12 10:55:42 | 显示全部楼层
  1. <div id="supehot"><!--图片交换开始-->

  2. <!--{block name="bbsattachment" parameter="dateline/604800/filetype/image/order/t.views DESC/limit/0,4/subjectlen/20/cachetime/38200/cachename/imagethread"}-->

  3. <div class="box_l" id="index_focus_turn">

  4. <!--{if !empty($_SBLOCK['imagethread'])}-->

  5. <div id="index_focus_turn_pic">

  6. <div id="index_focus_turn_picList" style="left:0; top:0;">

  7. <ul>

  8. <!--{loop $_SBLOCK['imagethread'] $pkey $pvalue}-->

  9. <li><a href="$pvalue[url]"><img src="$pvalue['attachment']" alt="" /></a></li>

  10. <!--{/loop}-->

  11. </ul>

  12. </div>

  13. <div id="index_focus_turn_opvdiv"></div>

  14. <div id="index_focus_turn_tx">

  15. <ul>

  16. <!--{eval $i = 0}-->

  17. <!--{loop $_SBLOCK['imagethread'] $key $value}-->

  18. <!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->

  19. <li class="$current">$value[subject]</li>

  20. <!--{eval $i++}-->

  21. <!--{/loop}-->

  22. </ul>

  23. </div>

  24. </div>

  25. <div id="index_focus_turn_btn">

  26. <ul>

  27. <!--{eval $i = 0}-->

  28. <!--{loop $_SBLOCK['imagethread'] $bkey $bvalue}-->

  29. <!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->

  30. <li class="$current"><img src="$bvalue[attachment]" alt="" /></li>

  31. <!--{eval $i++}-->

  32. <!--{/loop}-->

  33. </ul>

  34. </div>

  35. <!--{/if}-->

  36. </div><!--图片交换结束-->
复制代码
上面没有选择,我来回答,郁闷,重来
回复

使用道具 举报

juancai 发表于 2009-4-12 11:37:31 | 显示全部楼层
本帖最后由 juancai 于 2009-4-12 11:47 编辑

测试不成功
回复

使用道具 举报

 楼主| creatgain 发表于 2009-4-12 11:48:14 | 显示全部楼层
幻灯片部分为

<div id="supehot"><!--图片交换开始-->
<!--{block name="spacenews" parameter="catid/1,2/haveattach/2/order/i.dateline DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/1/cachename/hotnewspic"}-->
<div class="box_l" id="index_focus_turn">
<!--{if !empty($_SBLOCK['hotnewspic'])}-->
<div id="index_focus_turn_pic">
<div id="index_focus_turn_picList" style="left:0; top:0;">
<ul>
<!--{loop $_SBLOCK['hotnewspic'] $pkey $pvalue}-->
<li><a href="$pvalue[url]"><img src="$pvalue['a_filepath']" alt="" /></a></li>
<!--{/loop}-->
</ul>
</div>
<div id="index_focus_turn_opvdiv"></div>
<div id="index_focus_turn_tx">
<ul>
<!--{eval $i = 0}-->
<!--{loop $_SBLOCK['hotnewspic'] $key $value}-->
<!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
<li class="$current">$value[subject]</li>
<!--{eval $i++}-->
<!--{/loop}-->
</ul>
</div>
</div>
<div id="index_focus_turn_btn">
<ul>
<!--{eval $i = 0}-->
<!--{loop $_SBLOCK['hotnewspic'] $bkey $bvalue}-->
<!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
<li class="$current"><img src="$bvalue[a_thumbpath]" alt="" /></li>
<!--{eval $i++}-->
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div><!--图片交换结束-->

按楼上的方法修改了也没显示出来
回复

使用道具 举报

 楼主| creatgain 发表于 2009-4-12 17:12:58 | 显示全部楼层
等待着。。。。
回复

使用道具 举报

hobby123 发表于 2009-4-19 20:44:33 | 显示全部楼层
兄弟,,,我也想这样弄,,,你的弄好了没?

弄好了麻烦告诉下方法啊!!

谢谢
回复

使用道具 举报

NOKERS 发表于 2009-4-20 13:19:45 | 显示全部楼层
我可以帮你整
回复

使用道具 举报

 楼主| creatgain 发表于 2009-4-20 15:34:18 | 显示全部楼层
没有人帮忙解决。。。郁闷!
回复

使用道具 举报

qhdyezhu 发表于 2009-4-20 15:44:01 | 显示全部楼层
本帖最后由 qhdyezhu 于 2009-4-20 15:47 编辑

请看楼下吧,如果还有什么问题,可以直接q我:271439886

本人小站:http://www.my0335.com

我以前用过论坛幻灯,但是效果不是好,因为不能调用我想调用的图片,所以又改为资讯了

如果无法显示,可以自己建立一个'论坛附件模块"再调用
回复

使用道具 举报

 楼主| creatgain 发表于 2009-4-20 17:07:52 | 显示全部楼层
不好意思,我已经不需要了,我的朋友前两天就不要了,我不知道怎么取消这个悬赏。。。。。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-18 23:58 , Processed in 0.402735 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表