2011-09-29 3 views
1

에 사용자 정의 모듈의 링크를 추가하면 누군가 사용자 정의 모듈의 링크를 magento에서 왼쪽 대시의 사용자 대시 보드에 추가하는 방법을 알려줄 수 있습니까? 내 레이아웃 XML 파일에사용자 대시 보드 magento

<customer_account> 
    <reference name="left"> 
     <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml"> 
      <action method="addLink" translate="label" module="customer"> 
       <name>account_view</name> 
       <path>customer/account/view/</path> 
       <label>Account Details</label> 
      </action> 
     </block> 
    </reference> 
</customer_account> 

을 추가하려고하지만이 시도

감사

+0

사용하고있는 Magento의 버전은 무엇? –

답변

3

을 작동하지 않습니다 :

<customer_account> 
    <reference name="customer_account_navigation"> 
     <action method="addLink" translate="label" module="customer"> 
      <name>yournamespace_yourmodule</name> 
      <path>module/controller/action</path> 
      <label>Label</label> 
     </action> 
    </reference> 
</customer_account> 
+0

이 코드를 추가 한 파일은 어느 것입니까? 답변에 항상 전체 설명을 추가하십시오. 감사 –

관련 문제