【大象】模板配置器 - 广告系统接入
Q:广告系统如何接入?
W:options.setting.tpl.php
方法1:
$cnf_fields1 = array( 'ads' => array( 'index_block' => array( 'id'=>'index_block', 'name' => '首页通栏广告位' ), 'list_block' => array( 'id'=>'list_block', 'name' => '搜索页和分类页通栏广告位' ), 'detail_under_title' => array( 'id'=>'detail_under_title', 'name' => '详情页开头广告位' ), 'detail_content_btm' => array( 'id'=>'detail_content_btm', 'name' => '详情页底部广告位' ), 'sidebar' => array( 'id'=>'sidebar', 'name' => '侧栏底部广告位' ) ) ); $cnf_fields = array_merge($cnf_fields,$cnf_fields1);
方法2:
$cnf_fields['ads'] = array( 'index_block' => array( 'id'=>'index_block', 'name' => '首页通栏广告位' ), 'list_block' => array( 'id'=>'list_block', 'name' => '搜索页和分类页通栏广告位' ), 'detail_under_title' => array( 'id'=>'detail_under_title', 'name' => '详情页开头广告位' ), 'detail_content_btm' => array( 'id'=>'detail_content_btm', 'name' => '详情页底部广告位' ), 'sidebar' => array( 'id'=>'sidebar', 'name' => '侧栏底部广告位' ) );
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 提示下载完但解压或打开不了?
- 找不到素材资源介绍文章里的示例图片??
- 钛宇宙
0条评论