| 功能介绍 平台安装 模块管理 用户管理 广告管理 自定义首页 短消息设置 E-mail功能 Discuz论坛整合 |
| 模版设计:模版结构|数据通讯变量 |
| |
| [数据通讯变量] |
BBWPS系统支持平台与应用模块、各应用模块之间彼此进行高速数据通讯,达到数据交换功能;比如网站首页自定义提取各应用模块数据、应用模块页面显示其他模块信息等,其数据交换能力及效率远非目前采用JS脚本做数据通讯的方式可比。
各模块交换数据以后,可自定义模版控制显示效果,而不受数据来源模块的模版控制,满足自由交换自由显示。
将通讯变量放入模块相关展示模版,即可提取目标模块数据;标签格式说明:
{module_模块安装ID_category_分类ID(0表示全频道)_type_排序字段(条件)_number_信息条数_template_模板文件}
查看模块安装ID方法:系统管理后台点添加模块,右侧窗口显示列表中有显示。
摸版文件是控制数据显示的模版,一定要放在数据提取方的摸版目录下面,文件名及效果可自由定义。比如图片模块提取文章模块的最新资料数据,模版文件要放在图片模块的模版目录,显示的效果由这个文件控制,不受文章模块模版控制。 |
| 数据来源:文章 图片 招聘 房产 分类 生活黄页 心灵测试 下载 BBS |
文章模块的最新10条信息
{module_15_category_0_type_addtime_number_10_template_test_2}
文章最新推荐10条信息
{module_15_category_0_type_recommand_number_10_template_test_2}
文章最新图文10条信息
{module_15_category_0_type_image_number_10_template_test_2}
文章最新热点10条信息
{module_15_category_0_type_hits_number_10_template_test_2}
文章分类1的最新10条信息
{module_15_category_1_type_addtime_number_10_template_test_2}
文章最分类1新推荐10条信息
{module_15_category_1_type_recommand_number_10_template_test_2}
文章分类1最新图文10条信息
{module_15_category_1_type_image_number_10_template_test_2}
文章分类1最新热点10条信息
{module_15_category_1_type_hits_number_10_template_test_2} |
图片模块最新更新10副图片
{module_4_category_0_type_addtime_number_10_template_pic_list_images}
图片模块点击排行前10副图片
{module_4_category_0_type_hits_number_10_template_pic_list_images}
图片栏目1最新更新10副图片
{module_4_category_1_type_addtime_number_10_template_pic_list_images}
图片栏目1点击排行前10副图片
{module_4_category_1_type_hits_number_10_template_pic_list_images} |
招聘模块最新10条招聘信息
{module_7_category_1_type_time_number_6_template_job_list_1}
招聘模块最新10条求职信息
{module_7_category_0_type_time_number_10_template_job_list_2}
category后面跟1为招聘信息数据、否则其余为求职信息数据,其他参数说明请见页顶。 |
最新出租信息
{module_13_category_1_type_time_number_6_template_house_list_1}
最新求租信息
{module_13_category_2_type_time_number_6_template_house_list_1}
最新出售信息
{module_13_category_3_type_time_number_6_template_house_list_1}
最新求购信息
{module_13_category_4_type_time_number_6_template_house_list_1}
最新楼盘信息
{module_13_category_5_type_time_number_6_template_house_list_1}
房产模块最新更新信息
{module_13_category_0_type_time_number_6_template_house_list_1}
category后面跟0~5参数分别对应上述6种数据提取效果,其他参数说明请见页顶;数据通讯若需提取其他内容,请参考loadmessage数据表中的字段名,如house_list_1.html模版中设置的{area}、{roomname}两个字段变量。 |
{module_14_category_2_type_time_number_6_template_sort_list_1}
category参数后面跟的参数2,代表提取分类ID为2的更新数据;其他参数说明请见页顶。 |
{module_17_category_17_type_time_number_10_template_default_list_1}
category参数后面跟的参数17,代表提取黄页分类ID为17的最新数据;其他参数说明请见页顶。
category参数若设置为0,代表提取本模块最新数据。 |
{module_8_category_1_type_time_number_5_template_ceshi_list_1}
category参数后面跟的参数1,代表提取栏目排序ID为1的最新数据;其他参数说明请见页顶。
category参数若设置为0,代表提取本模块最新数据。 |
{module_23_category_32_type_addtime_number_10_template_default_list_1}
category参数后面跟的参数32,代表提取分类ID为32的最新数据;其他参数说明请见页顶。 |
提取论坛版块ID为2的数据
{bbs_fid_2_number_5_length_20_template_default_list_3} |
| |
| 若使用本系统收集、管理海量信息,请联系我们(028-85253032)获取专业服务;针对您的海量数据应用专门设计、优化,提升系统运行性能。 |
| |
| 返回页顶↑ 返回手册首页 |