- 文章: 12
- 謝謝您收到: 0
關於無法安裝自製的佈景主題
- ArthurBonnie
-
Topic Author
- Offline
- 新手上路
-
Less
More
2014-12-21 20:43 #26875
來自 ArthurBonnie
This message has an attachment file.
ArthurBonnie created the topic: 關於無法安裝自製的佈景主題
你好,我的 Joomla 是 3.3 版的。
我想安裝我自己做的佈景主題,但是不論是用 [上傳套件包檔案]、[由目錄安裝]、[由網址安裝]
任何一種方式都會出現底下這一段錯誤訊息:
"警告 JInstaller 安裝:找不到 Joomla XML 安裝檔案"
"錯誤 路徑裡頭並沒有發現有效套件"
我目前的佈景主題因為是在練習和測試,所以只有一個 index.php 和一個 templateDetails.xml
找了一些網路上的例子來改和測試,但是都沒有測試成功。
可以請大家幫我看看檔案內容錯誤的地方在哪。
感謝幫忙。
index.php 檔案內容如下:
templateDetails.xml 檔案如下:
我把我做的套件 zip 檔案 放在附檔,感謝大家幫我看看。
畢竟學習怎樣做成套件檔案來發布還是比較方便的。
我想安裝我自己做的佈景主題,但是不論是用 [上傳套件包檔案]、[由目錄安裝]、[由網址安裝]
任何一種方式都會出現底下這一段錯誤訊息:
"警告 JInstaller 安裝:找不到 Joomla XML 安裝檔案"
"錯誤 路徑裡頭並沒有發現有效套件"
我目前的佈景主題因為是在練習和測試,所以只有一個 index.php 和一個 templateDetails.xml
找了一些網路上的例子來改和測試,但是都沒有測試成功。
可以請大家幫我看看檔案內容錯誤的地方在哪。
感謝幫忙。
index.php 檔案內容如下:
<?php defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!DOCTYPE html>
<html xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/MyTest/css/template.css" type="text/css" />
</head>
<body>
<jdoc:include type="modules" name="top" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="bottom" />
</body>
</html>
templateDetails.xml 檔案如下:
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.3" type="template">
<name>MyTest</name>
<creationDate>2013-12-26</creationDate>
<author>Jackie</author>
<authorUrl>http://www.MyTest.com</authorUrl>
<copyright>Jackie 2013</copyright>
<license>GNU/GPL</license>
<version>3.3</version>
<description>佈景主題描述</description>
<files>
<filename plugin="MyTest">index.php</filename>
<filename>templateDetails.xml</filename>
</files>
</extension>
我把我做的套件 zip 檔案 放在附檔,感謝大家幫我看看。
畢竟學習怎樣做成套件檔案來發布還是比較方便的。
This message has an attachment file.
Please log in or register to see it.
Please 登入 to join the conversation.
- BillTu
-
- Offline
- 中級會員
-
Less
More
- 文章: 37
- 謝謝您收到: 12