Ho creato un componente, preparato il file XML e quindi il file ZIP. Tuttavia quando provo ad installarlo circa 1/3 dei file non viene installato, tuttavia Joomla mi dice che l'installazione è avvenuta senza problemi. Ho controllato il file ZIP e quello XML e non trovo problemi.
Qualcuno sa dirmi se questo file XML è corretto:
<?xml version="1.0" ?>
<mosinstall type="component">
<name>nomecomponente</name>
<creationDate>February 2008</creationDate>
<author>mio nome</author>
<copyright>Freeware license</copyright>
<authorEmail>info@miosito.com</authorEmail>
<authorUrl>http://www.miosito.co</version>
<version>1.1</version>
<description><![CDATA[
<h2>Nome componente</h2>
<p>....</p>
]]></description>
<params>
<param
name="param1"
type="text"
default=""
label="label"
description="descrizione">
</param>
<param
name="@spacer"
type="spacer"
default=""
label=""
description="">
</param>
<param
name="pageclass_sfx"
type="text"
default=""
label="label"
description="descrizione">
</param>
<param
name="header"
type="text"
default=""
label="label"
description="descrizione">
</param>
<param name="param2" type="list" default="" label="label" description="descrizione">
<option value="1">Yes</option>
<option value="0">No</option>
</param>
<param name="param3" type="list" default="" label="label" description="descrizione">
<option value="1">Yes</option>
<option value="2">No</option>
</param>
</params>
<files>
<filename>nomecomponente.frontend.ajax.html.php</filename>
<filename>nomecomponente.frontend.ajax.php</filename>
<filename>nomecomponente.php</filename>
<filename>ip2country/ip2country.php</filename>
<filename>js/nomecomponente.js</filename>
<filename>languages/english.php</filename>
<filename>plugins/joomlastyle.php</filename>
</files>
<images>
</images>
<install>
<queries>
</queries>
</install>
<installfile>install.nomecomponente.php</installfile>
<uninstall>
<queries>
</queries>
</uninstall>
<administration>
<menu>Nome Componente</menu>
<submenu>
</submenu>
<files>
<filename>admin.nomecomponente.html.php</filename>
<filename>admin.nomecomponente.php</filename>
<filename>nomecomponente.inc.php</filename>
<filename>nomecomponente.ajax.html.php</filename>
<filename>nomecomponente.ajax.php</filename>
<filename>nomecomponente.class.php</filename>
<filename>nomecomponente.inc.php</filename>
<filename>nomecomponente.j15.class.php</filename>
<filename>sajax.php</filename>
<filename>toolbar.nomecomponente.html.php</filename>
<filename>toolbar.nomecomponente.php</filename>
<filename>contentelements/nomecomponente1.xml</filename>
<filename>contentelements/nomecomponente2.xml</filename>
<filename>contentelements/nomecomponente3.xml</filename>
<filename>contentelements/nomecomponente4.xml</filename>
<filename>css/colorpicker.css</filename>
<filename>js/colorpicker.js</filename>
<filename>js/selectbox.js</filename>
<filename>xml/minixml.inc.php</filename>
<filename>xml/classes/doc.inc.php</filename>
<filename>xml/classes/element.inc.php</filename>
<filename>xml/classes/node.inc.php</filename>
<filename>xml/classes/treecomp.inc.php</filename>
<filename>images/arrowdown.png</filename>
<filename>images/arrowup.png</filename>
<filename>images/cp_polls.png</filename>
<filename>images/cp_import.png</filename>
<filename>images/cp_remove.png</filename>
<filename>images/cp_restore.png</filename>
<filename>images/copy.png</filename>
<filename>images/date.png</filename>
<filename>images/icon.png</filename>
<filename>images/loader.gif</filename>
<filename>images/minus.png</filename>
<filename>images/plus.png</filename>
<filename>images/results.png</filename>
<filename>images/trash.png</filename>
<filename>images/apply.png</filename>
<filename>images/color.png</filename>
<filename>images/smallinfo.png</filename>
<filename>images/smallwarn.png</filename>
<filename>images/languages/lag-it.png</filename>
<filename>images/languages/lag-us.png</filename>
</files>
<images>
</images>
</administration>
</mosinstall>
I file "toolbar.nomecomponente.html.php", "toolbar.nomecomponente.php" e "sajax.php" ad esempio non sono installati eppure nello ZIP ci sono.
Grazie.