http://crazyhut.blog.163.com/blog/static/1690924522012321913321/
1,复制user.php
2,复制user_passport.dwt
3,添加可调用区域
user_passport.dwt在目标位置添加
<!-- TemplateBeginEditable name="内容主区域" -->
<!-- TemplateEndEditable -->
模板设置里面看首页的选项中就有这个区域的选项
4,添加新的我的位置
1)添加文字说明
复制user.php->about.php
修改载入语言文件
require_once(ROOT_PATH . 'languages/' .$_CFG['lang']. '/user.php');
->
about
common.php
添加一行
$_LANG['about'] = '关于我们';
2)修改模板中的引用
about.dwt
$position = assign_ur_here(0, $_LANG['user_center']);
->
about
1,复制user.php
2,复制user_passport.dwt
3,添加可调用区域
user_passport.dwt在目标位置添加
<!-- TemplateBeginEditable name="内容主区域" -->
<!-- TemplateEndEditable -->
模板设置里面看首页的选项中就有这个区域的选项
4,添加新的我的位置
1)添加文字说明
复制user.php->about.php
修改载入语言文件
require_once(ROOT_PATH . 'languages/' .$_CFG['lang']. '/user.php');
->
about
ps:这个暂时用不着
common.php
添加一行
$_LANG['about'] = '关于我们';
2)修改模板中的引用
about.dwt
$position = assign_ur_here(0, $_LANG['user_center']);
->
about
5,后台添加导航栏