1. 程式人生 > >ecshop 前臺個人中心修改側邊欄 和 側邊欄顯示不全 或 導航現實不全

ecshop 前臺個人中心修改側邊欄 和 側邊欄顯示不全 或 導航現實不全

page alt keyword list() com ade 模板 pla uid

怎麽給個人中心側邊欄加項或者減項

在模板文件default/user_menu.lbi 文件裏添加或者修改,一般看到頁面都會知道怎麽加,怎麽刪,這裏就不啰嗦了

添加一個欄目以後,這個地址跳的頁面怎麽寫

這是最基本的一個包括左側個人信息,頭部導航欄

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords
}" /> <meta name="Description" content="{$description}" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <!-- TemplateBeginEditable name="doctitle" --> <title>我的導購</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable --> <link rel="shortcut icon" href="favicon.ico" /> <link rel="icon" href="animated_favicon.gif" type="image/gif" /> <link rel="stylesheet" type="text/css" href="themes/default/css/user.css" /> <script type="text/javascript" src="themes/default/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="themes/default/js/jquery.validate.js"></script> <script type="text/javascript" src="themes/default/js/messages_zh.js"></script> <!-- #
BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem --> <div class="margin-w1210 clearfix"> <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem --> <div class="user-left"> <!-- #BeginLibraryItem "/library/user_info.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/user_menu.lbi" --><!-- #EndLibraryItem --> </div> <div class="user-right"> <div class="box"> .111111111111111111 </div> </div> </div>

點進去頁面以後出現左側顯示不全,導航欄顯示不全

技術分享

在圖上紫色框框的地方把你下的那個方法的名字寫上,就ok 了...註意方法名都必須是 action_** ,,然後這塊寫的時候就不用寫action了...必須,我的方法是 function action_guide_list(){}

那麽我在這塊寫的時候就直接寫guide_list 即可,完畢

ecshop 前臺個人中心修改側邊欄 和 側邊欄顯示不全 或 導航現實不全