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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

DIY一列多行的数据调用

[复制链接]
extollive 发表于 2011-8-16 07:17:28 | 显示全部楼层 |阅读模式
本帖最后由 extollive 于 2011-9-2 22:16 编辑

时常见站长提问主题多行如何调用的问题,参考了下砂的一列两行的数据调用,这里与大家分享其它多行调用方式。
设置为DIY默认选择方法;
后台——》模板模块——》添加——》选择模块分类(一般为帖子模块;论坛版块)——》提交——》在数据调用的框格里输入以下个别代码——》提交


一列2行+主题列表
  1. <div class="module cl xl xl2">
  2. <ul>
  3. [loop]
  4. <li style="width:40%"><a href="{url}" title="{title}"{target}>{title}</a></li>
  5. [/loop]
  6. </ul>
  7. </div>
复制代码
一列3行+主题列表
  1. <div class="module cl xl xl2">
  2. <ul>
  3. [loop]
  4. <li style="width:30%"><a href="{url}" title="{title}"{target}>{title}</a></li>
  5. [/loop]
  6. </ul>
  7. </div>
复制代码
一列4行+主题列表
  1. <div class="module cl xl xl2"><ul>[loop]<li style="width:20%"><a href="{url}" title="{title}"{target}>{title}</a></li>[/loop]</ul></div>
复制代码



一列三行+版块列表+版块主题总数
  1. <div class="module cl xl xl2">
  2. <ul>
  3. [loop]
  4. <li style="width:30%">{posts}<span class="pipe">|</span><a href="{url}" title="{title}"{target}>{title}</a></li>
  5. [/loop]
  6. </ul>
  7. </div>
复制代码



我的其它主题分享;
鼠标滑过链接出现漂亮提示/鼓励点击浏览内容/美化站点/扫掉郁闷的千篇一律/简便安装(最新)
https://discuz.dismall.com/thread-2359830-1-1.html

随时、简便更换论坛背景的方法(DIY系列教程)
https://discuz.dismall.com/thread-2354169-1-1.html
(解决)抱歉,你的IP地址不在被充许,或您的帐号被禁用,无法访问本站点(的方法)
https://discuz.dismall.com/thread-2353668-1-1.html
X2设置评分教程
https://discuz.dismall.com/thread-2337032-1-1.html
简易使用DIY设置 多格多行 布条横幅 广告--DIY系列教程
https://discuz.dismall.com/thread-2330208-1-1.html
DZX系列的横排友情设置教程
https://discuz.dismall.com/thread-2247163-1-1.html
DIY一列多行的数据调用
https://discuz.dismall.com/thread-2328882-1-1.html
帖子无缘无故失踪的原因(解决灵异事件—1)
https://discuz.dismall.com/thread-2327941-1-1.html
DIY模块失踪了(解决灵异事件—2)
https://discuz.dismall.com/thread-2328454-1-1.html
教你用最简单的方法做自己的logo(1分钟拥有自己的标志,不必求人咯)
https://discuz.dismall.com/thread-2326998-1-1.html
去掉头部升级IE提示【卓芸-V系】V2.0(20110805) DX2透明模板 模板机制更新 原作BY:
https://discuz.dismall.com/thread-2326966-1-1.html
帮助中心 通用帮助主题内容图文说明与下载(DZX 系列)
https://discuz.dismall.com/thread-2298898-1-1.html

海外的视频无法播放问题(解决方法)
https://discuz.dismall.com/thread-2297927-1-1.html
专题 DIY 保存 发生错报 的看这里(应对解决方法)
https://discuz.dismall.com/thread-2295486-1-1.html
如何设置分类信息(图文教程、DZX系列)
https://discuz.dismall.com/thread-2269181-1-1.html
游客无法正常浏览 只能看到头部Logo、背景色的解决方法
https://discuz.dismall.com/thread-2262709-1-1.html
房产安装后无法启用的解决(小小分享)
https://discuz.dismall.com/thread-2336161-1-1.html


DZ互助团队页面;
https://discuz.dismall.com/plugin.php?id=issuetrack:team
欢迎浏览我的空间
https://discuz.dismall.com/home.php?mod=space&uid=984166

评分

4

查看全部评分

 楼主| extollive 发表于 2011-8-16 07:23:29 | 显示全部楼层
本帖最后由 extollive 于 2011-8-16 15:26 编辑

其他互助的教程分享;
小六子的教程::
【教程】举报功能为何版主等不能查看?教程來了~
https://discuz.dismall.com/thread-2240593-1-1.html
关于x2版本附件图片幻灯片调用解決方法
https://discuz.dismall.com/thread-2179276-1-1.html
使x2版本有x1.5的页头邀请链接修改方法
https://discuz.dismall.com/thread-2151745-1-1.html
门户管理发布文章时提示沒有权限发布的解决方法
https://discuz.dismall.com/thread-2149148-1-1.html
【教程】马甲用不了吖,本教程提供了文字以及图片教学
https://discuz.dismall.com/thread-2134062-1-1.html
[教程]教你如何删除或者发表早稿箱里的帖子
https://discuz.dismall.com/thread-2132894-1-1.html
x2 实现【教程】x2版本邀请功能,更改位置后的
https://discuz.dismall.com/thread-2149352-1-1.html
不同页面不同logo
https://discuz.dismall.com/thread-2294940-1-1.html
x2 幫助数据补全
https://discuz.dismall.com/thread-2293228-1-1.html
【教程】如何实现官方DZX插件区分类信息的搜索功能及显示功能
https://discuz.dismall.com/thread-2288364-1-1.html
x2 使用QQ微博转播时+发帖时QQ微博转播时自动增加话题
https://discuz.dismall.com/thread-2286234-1-1.html
只关闭帖子列表的快速回帖,不关闭帖子内的快速回复
https://discuz.dismall.com/thread-2259896-1-1.html
x2 帖子内容页有鉴定图章时遮盖楼主的修正方法
https://discuz.dismall.com/thread-2259437-1-1.html
[ARCHY`教程]第一讲:Discuz 建站教程 学前准备
https://discuz.dismall.com/thread-2299200-1-1.html
[ARCHY`教程]第二讲:Discuz建站教程之环境配置和常用工具推荐
https://discuz.dismall.com/thread-2299209-1-1.html
[ARCHY`教程]第三讲:Discuz建站教程之安装注意以及插件和模板的安装
https://discuz.dismall.com/thread-2299212-1-1.html
[ARCHY`教程]第四讲:Discuz建站教程之SEO设置全解
https://discuz.dismall.com/thread-2299217-1-1.html
[ARCHY`教程]第五讲:Discuz 建站教程 论坛版块的增删和常用设置
https://discuz.dismall.com/thread-2299223-1-1.html
[ARCHY`教程]第六讲:Discuz 建站教程 积分策略的设置和使用技巧
https://discuz.dismall.com/thread-2299227-1-1.html
[ARCHY`教程]第七讲:Discuz 建站教程 防灌水设置更好的优化用户体验
https://discuz.dismall.com/thread-2299230-1-1.html

花到飞靡
https://discuz.dismall.com/home.php?mod=space&uid=1211674&do=thread&view=me&from=space

我的其它主题;
帖子无缘无故失踪的原因(解决灵异事件—1)
https://discuz.dismall.com/thread-2327941-1-1.html
DIY模块失踪了(解决灵异事件—2)
https://discuz.dismall.com/thread-2328454-1-1.html

教你用最简单的方法做自己的logo(1分钟拥有自己的标志,不必求人咯)
https://discuz.dismall.com/thread-2326998-1-1.html

去掉头部升级IE提示【卓芸-V系】V2.0(20110805) DX2透明模板 模板机制更新 原作BY:
https://discuz.dismall.com/thread-2326966-1-1.html

帮助中心 通用帮助主题内容图文说明与下载(DZX 系列)
https://discuz.dismall.com/thread-2298898-1-1.html

帮助中心 通用功能图文教程安装包(DZX 系列)
https://discuz.dismall.com/thread-2298890-1-1.html

海外的视频无法播放问题(解决方法)
https://discuz.dismall.com/thread-2297927-1-1.html

专题 DIY 保存 发生错报 的看这里(应对解决方法)
https://discuz.dismall.com/thread-2295486-1-1.html

如何设置分类信息(图文教程、DZX系列)
https://discuz.dismall.com/thread-2269181-1-1.html

游客无法正常浏览 只能看到头部Logo、背景色的解决方法
https://discuz.dismall.com/thread-2262709-1-1.html






回复

使用道具 举报

64243354 发表于 2011-8-16 09:01:11 | 显示全部楼层
{:soso_e141:}你把我的帖子复制出來好了-.- 放在一楼不就好了
回复

使用道具 举报

 楼主| extollive 发表于 2011-8-16 14:58:21 | 显示全部楼层
64243354 发表于 2011-8-16 09:01
你把我的帖子复制出來好了-.- 放在一楼不就好了

太多了。。。
回复

使用道具 举报

64243354 发表于 2011-8-16 15:23:22 | 显示全部楼层
extollive 发表于 2011-8-16 14:58
太多了。。。

不多不多...
教你如何刪除子版块的帖数等等
https://discuz.dismall.com/thread-2323805-1-1.html
这帖加帖子內容底部那些连接 不太多
20左右而已
回复

使用道具 举报

gnchw 发表于 2011-9-13 01:15:10 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

carlkyo 发表于 2011-9-17 16:30:42 | 显示全部楼层
回复

使用道具 举报

泡泡战士中文网 发表于 2011-9-25 22:30:05 | 显示全部楼层
我要牢记!!!!!!!!!
回复

使用道具 举报

liqu12511 发表于 2011-12-4 18:28:36 | 显示全部楼层
不会用diy
回复

使用道具 举报

abcnic 发表于 2011-12-6 14:55:45 | 显示全部楼层
虽然不会用 但是支持
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-28 19:16 , Processed in 1.129851 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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