Back to top

Autore Topic: da 1.5 a 2.5 : dove sbaglio?  (Letto 1487 volte)

Offline Noise Comunica

  • Appassionato
  • ***
  • Post: 317
  • Sesso: Maschio
    • Mostra profilo
da 1.5 a 2.5 : dove sbaglio?
« il: 03 Feb 2012, 17:21:41 »
Cari amici
sto provando a modificare un tema trasformandolo da versione 1.5 a versione 2.5. Provo ad effettuare l'installazione ma esce questo errore:
Citazione
Fallito caricamento file XML
      /Users/martinasantomassimo/Sites/htdocs/demacart/tmp/install_4f2c07bd7d76b/mybusiness/templateDetails.xml
      XML: Opening and ending tag mismatch: extension line 3 and description
      XML: Extra content at the end of the document
      JInstaller: :Install: Non è stato possibile trovare il file di setup XML di Joomla


Ecco il codice dell'xml che ho modificato:


Codice: [Seleziona]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.6//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd">
<extension version="1.6" type="template" method="install">
<name>Rhuk_Milkyway_Ext_16</name>
<creationDate>11/20/06</creationDate>
<author>Andy Miller</author>
<authorEmail>rhuk@rockettheme.com</authorEmail>
<authorUrl>http://www.rockettheme.com</authorUrl>
<copyright>Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>1.6.0</version>
<description>Qui descriveremo il nostro template</description>
    <![CDATA[<h3>License</h3>
     
      All the free CSS templates on this site are distributed under the  <b><a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5 License.</a></b> This means that you are free:
     
      <ul>
      <li>to copy, distribute, display, and perform the work</li>
      <li>to make derivative works</li>
      <li>to make commercial use of the work</li>
      </ul>
      Under the following conditions:
      <ul>
      <li>You must attribute the work in the manner specified by the author or licensor. (In this case, a link back to my site)</li>
      <li>For any reuse or distribution, you must make clear to others the license terms of this work</li>
      <li>Any of these conditions can be waived if you get permission from the copyright holder</li>
      <li>You can not delete sponsorlinks if template have it.</li>
      </ul>
     
      <h3>Removing the link and template sponsor</h3>
     
      If you don't want to link back to themesjoomla.com, you can always pay a link removal donation. This will allow you to use the template link free on one domain name. Also, kindly send me the site's url so I can include it on my list of verified users <br />
     
      Please contact to me with <a href="mailto:webmaster@themesjoomla.com">webmaster@themesjoomla.com</a>]]>
  </description>


<files>
<folder>html</folder>
<folder>images</folder>
<folder>css</folder>
<filename>index.php</filename>
<filename>index.html</filename>
<filename>favicon.ico</filename>
<filename>templateDetails.xml</filename>
<filename>license.txt</filename>
<filename>params.ini</filename>
<filename>template_thumbnail.png</filename>
</files>


<positions>
<position>mymainmenu</position>
<position>myright</position>
<position>myspotlight</position>
<position>myuser1</position>
<position>myuser2</position>
<position>myuser3</position>
<position>myfooter</position>
<position>debug</position>
</positions>

<params>
    <param name="siteName" type="text" default="Themes Joomla" size="50" label="Site Name" description="Set Site Name" />   
  </params>

</extension>

Offline giovi

  • Instancabile
  • ******
  • Post: 9835
  • Sesso: Maschio
    • Mostra profilo
Re:da 1.5 a 2.5 : dove sbaglio?
« Risposta #1 il: 03 Feb 2012, 18:54:52 »
Un tema? Cos'è un telefonino?! :)


Innanzitutto correggi qui:


Codice: [Seleziona]
<description>Qui descriveremo il nostro template</description>
    <![CDATA[<h3>License</h3>
     
      All the free CSS templates on this site are distributed under the  <b><a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5 License.</a></b> This means that you are free:
     
      <ul>


Hai chiuso il tag description e poi hai continuato a scrivere a vanvera nell'xml!

Offline giovi

  • Instancabile
  • ******
  • Post: 9835
  • Sesso: Maschio
    • Mostra profilo
Re:da 1.5 a 2.5 : dove sbaglio?
« Risposta #2 il: 03 Feb 2012, 18:56:51 »
...e dopo ripassa la parte dei parametri ;)
Questo codice:
Codice: [Seleziona]

<params>
    <param name="siteName" type="text" default="Themes Joomla" size="50" label="Site Name" description="Set Site Name" />   
  </params>


Non ha più senso!!!


Prendi qualche spunto qui: http://wiki.joomla.it/index.php?title=Come_convertire_template_1.5_alla_1.6

 



Web Design Bolzano Kreatif