我正在收到警告消息,JInstaller ::安装:找不到Joomla XML安装文件
Joomla版本是3.0。
尝试更改为,3.0到3.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 3.0//DTD template 1.0//EN"
"http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
<extension version="3.0" type="template" client="site">
<name>aj_dynamic</name>
<creationDate>25 September 2012</creationDate>
272103_1_EnDan Rahmel
</author>
<authorEmail>drahmel@joomlajumpstart.com</authorEmail>
<authorUrl>http://www.joomlajumpstart.com</authorUrl>
<copyright>Copyright (c)2012-2013 Dan Rahmel.</copyright>
<license>GNU GPL</license>
<version>3.0</version>
<description>Responsive template created in the book
Advanced Joomla!</description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
</files>
<positions>
<config>
<fields name="params"></fields>
</config>
</extension>
<position>debug</position>
<position>position-0</position>
</positions>
答案 0 :(得分:1)
您的XML文件有点混乱。它在错误的地方缺少标签和标签。
应该如下:
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" type="template" method="upgrade" client="site">
<name>aj_dynamic</name>
<creationDate>25 September 2012</creationDate>
<author>272103_1_EnDan Rahmel</author>
<authorEmail>drahmel@joomlajumpstart.com</authorEmail>
<authorUrl>http://www.joomlajumpstart.com</authorUrl>
<copyright>Copyright (c)2012-2013 Dan Rahmel.</copyright>
<license>GNU GPL</license>
<version>3.0</version>
<description>Responsive template created in the book Advanced Joomla!</description>
<files>
<filename module="mod_aj_dynamic">mod_aj_dynamic.php</filename>
<filename>templateDetails.xml</filename>
</files>
<positions>
<position>debug</position>
<position>position-0</position>
</positions>
<config>
<fields name="params">
<fieldset name="basic">
<field name="params1" label="Param 1" default="" />
<field name="params2" label="Param 2" default="" />
</fieldset>
</fields>
</config>
</extension>
请注意,我已将 index.php 更改为 mod_aj_dynamic.php 。您还需要将此名称更改应用于实际文件。