2013-10-16 37 views
0

任何人都可以知道在哪裏定製Joomla 3.x標籤頁嗎?我是一個新手,Joomla標籤也是新的)。請告訴我該怎麼做,我在哪裏可以找到要自定義的文件。謝謝定製Joomla 3.x標籤頁

回答

1

我想你要自定義的標籤組件前端佈局來看,這樣你就可以進行如下(此過程是快那麼一步一步的使用創造目錄等):

  1. 將/ components/com_tags「com_tags」目錄複製到/ templates/your_template/html目錄中;
  2. 檢查您現在有以下內容:/ templates/your_template/html/com_tags;
  3. 展開/ templates/your_template/html/com_tags /目錄並刪除目錄「controllers」,「helpers」,「models」和文件「controller.php」,「metadata.php」,「router.php」和「tags.php」;
  4. 展開剩餘的目錄/ templates/your_template/html/com_tags/views /;
  5. 裏面有「tag」和「tags」目錄,每個目錄都有一個目錄「tmpl」;
  6. 在他們每個人的刪除文件「view.feed.php」和「view.html.php」(離開「的index.html」,裏面每個「TMPL」目錄
  7. 現在,移動文件(除了index.html和xml文件)到每個父目錄(「tag」和「tags」);
  8. 刪除「tmpl」目錄;
  9. 現在,和「標記」目錄「你想要/需要自定義的文件,更改這些文件將覆蓋組件的主文件

你應該在你的模板中有結構direc tory類似如下:

/templates/ 
/your_template/ 
    /html/ 
     /com_tags/ 
      /tag/ 
       /* the files you will be able to override are here */ 
      /tags/ 
       /* the files you will be able to override are here */ 

希望它有幫助。如需進一步參考,請訪問Joomla docs

+0

好的。謝謝。我會做,並回來告訴你:) –