Back to top

Autore Topic: Problema nel convertire il template  (Letto 1239 volte)

Offline invasionealiena

  • Nuovo arrivato
  • *
  • Post: 34
  • Sesso: Maschio
    • Mostra profilo
Problema nel convertire il template
« il: 08 Mag 2012, 15:46:00 »
Salve a tutti. Recentemente sto provando a modificare il mio template personale di Joomla 1.5
L'intento ovviamente è quello di riuscire ad utilizzarlo anche nella 2.5
Ho seguito la vostra guida ma non sono riuscito ad istallarlo in quanto segue questo errore:

JInstaller: :Install: File does not exist /home/franci85/public_html/jupgrade/tmp/install_4fa9215b2fbfa/ultimate/ia/index.html

Le modifiche svolte al template sono queste nel templatedetails

Codice: [Seleziona]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="2.5" type="template" >
<name>Ultimate</name>
<creationDate>Today</creationDate>
<author>Master Of Disaster</author>
<authorEmail>asd</authorEmail>
<authorUrl>asd</authorUrl>
<copyright>asd</copyright>
<license>GNU/GPL</license>
<version>2.5</version>
<description>

</description>
<files>
<filename>index.html</filename>
<filename>index.php</filename>
<filename>params.ini</filename>
<filename>templateDetails.xml</filename>
<filename>template_thumbnail.png</filename>
<filename>component.php</filename>
<folder>html/</folder>
<folder>images/</folder>
<folder>css/</folder>
<folder>js/</folder>
</files>
<languages>
    <language tag="en-GB">en-GB.tpl_miotemplate.ini</language>
<language tag="it-IT">it-IT.tpl_miotemplate.ini</language>
</languages>
<administration>
<languages folder="admin">
<language tag="en-GB">en-GB.tpl_miotemplate.ini</language>
<language tag="it-IT">it-IT.tpl_miotemplate.ini</language>
</languages>
</administration>
<positions>
        <position>netbar1</position>
<position>netbar2</position>
<position>netbar3</position>
<position>leader</position>
<position>time</position>
<position>news</position>
<position>login</position>
<position>bannerheader</position>
<position>menu</position>
<position>menu2</position>
<position>bottommenu</position>
<position>slideshow</position>
<position>tab</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>user5</position>
<position>breadcrumbs</position>
<position>bottommenu</position>
<position>slideshow</position>
<position>tab</position>

<position>leftcol</position>
<position>rightcol</position>
<position>right</position>
<position>right1</position>
<position>right2</position>
<position>rightbottom</position>

<position>user6</position>
<position>user7</position>
<position>user8</position>
<position>user9</position>
<position>user10</position>
<position>sitemap</position>
<position>user11</position>
<position>user12</position>
<position>footer</position>
<position>footad</position>
</positions>
<config>
       <fields name="params">
          <fieldset name="basic">
        <field type="spacer" default="TESTO" />
        <field name="logo" type="text" label="TESTO LOGO" description="LOGO DESC" default="Mio Template" />
        <field name="footer" type="text" label="TESTO FOOTER" description="FOOTER DESC" default="Copyright © Mio Template" />
        <field type="spacer" default="&lt;b&gt;Javascript&lt;/b&gt;&lt;hr /&gt;" />
        <field name="ie6warning" type="radio" label="IE6 Warning" description="IE6WARNING DESC" default="1">
            <option value="1">ATTIVATO</option>
            <option value="0">DISATTIVATO</option>
        </field>
</fieldset>
     </fields>
</config>
</extension>

Le modifiche all' index.php sono queste

Codice: [Seleziona]
<?php
/**
 *  GNU / GPL
 *  Luigi De Simone
 *  http://www.joomlashow.it/
 *  http://nemesisdesign.net/
 */

// no direct access
defined('_JEXEC') or die;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" dir="<?php echo $this->direction?>" >
<head>
<jdoc:include type="head" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" media="screen" />
    <!--[if IE]><link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/ie.css" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if lte IE 6]><link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
<?php
if($this->countModules('right') == 0$contentwidth "100";
if(
$this->countModules('right') == 1$contentwidth "";

?>



  <script type="text/javascript" src="/templates/ultimate/js/jquery.bxSlider.min.js"></script>
<script type="text/javascript">
  $(document).ready(function(){
    $('#bannerheader').bxSlider({
infiniteLoop: true,
mode: 'horizontal',
auto: true,
speed: 1000,
pause: 50000,
});
  });
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-13231455-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- TradeDoubler site verification 2062155 -->
</head>
<body>

<div id="netbarwrap">
<div id="netbar">

<div id="netbar1">
                <jdoc:include type="modules" name="netbar1" style="xhtml" />
            </div>

   <div id="netbar2">
                <jdoc:include type="modules" name="netbar2" style="xhtml" />
            </div>

<div id="netbar3">
                <jdoc:include type="modules" name="netbar3" style="xhtml" />
            </div>
</div>
<br class="clearfix" />

</div>
   
    <div id="container">
       
     
        <div id="tophead">


   <div id="news">
                <jdoc:include type="modules" name="news" style="xhtml" />
            </div>

<div id="login">
                <jdoc:include type="modules" name="login" style="xhtml"/>
            </div>

<br class="clearfix" />

</div>



        <div id="header">

   <div id="logo">
                  <a href="index.php"><img src="/templates/ultimate/images/logo.png" /></a>
            </div><!--/#navigation-->

<div id="bannerheader">
                <jdoc:include type="modules" name="bannerheader" style="xhtml" />
            </div><!--/#navigation-->

<br class="clearfix" />

</div>




        <div id="top">

   <div id="menu">
                <jdoc:include type="modules" name="menu" />
            </div>
 <?php if ($this->countModules'menu2' )) : ?>
           <div id="menu2">
                <jdoc:include type="modules" name="menu2" />
            </div>
<?php endif; ?>



<br class="clearfix" />

</div>



   <?php if ($this->countModules'slideshow' )) : ?>
        <div id="home">



   <div id="slideshow">
                <jdoc:include type="modules" name="slideshow" style="xhtml" />
            </div>

<div id="tab">
                <jdoc:include type="modules" name="tab" style="xhtml" />
            </div><!--/#navigation-->


<br class="clearfix" />

</div>
<?php endif; ?>



   <?php if ($this->countModules'user1' )) : ?>

<div id="userwrap">

<div id="user1">
                <jdoc:include type="modules" name="user1" style="xhtml" />

            </div>

  <div id="user2">
                <jdoc:include type="modules" name="user2" style="xhtml" />

            </div>

  <div id="user3">
                <jdoc:include type="modules" name="user3" style="xhtml" />

            </div>

  <div id="user4">
                <jdoc:include type="modules" name="user4" style="xhtml" />

            </div>

  <div id="user5">
                <jdoc:include type="modules" name="user5" style="xhtml" />

            </div>

<br class="clearfix" />

</div>

<?php endif; ?>




        <div id="mainwrap">




         

<div id="main<?php echo $contentwidth?>">
 <?php if ($this->countModules'breadcrumb' )) : ?>
        <div id="leader">
              <jdoc:include type="modules" name="breadcrumb" style="xhtml" />
            </div>

 <?php endif; ?>
                         
     <jdoc:include type="component" />
   
    <div id="leftcol">
                <jdoc:include type="modules" name="leftcol" style="xhtml" />
</div>
           
            <div id="rightcol">
                <jdoc:include type="modules" name="rightcol" style="xhtml" /> </div>
             </div>

     




           

<?php if ($this->countModules'right' )) : ?>
<div id="columns">

<div id="right">
                <jdoc:include type="modules" name="right" style="xhtml"/>

            </div>
           
         <div id="middleright">
<div id="right1">
                <jdoc:include type="modules" name="right1" style="xhtml"/>

            </div>

<div id="right2">
                <jdoc:include type="modules" name="right2" style="xhtml"/>

            </div>
            <br class="clearfix" />
            </div>
           
            <div id="rightbottom">
                <jdoc:include type="modules" name="rightbottom" style="xhtml"/>

            </div>



<br class="clearfix" />

</div>
           

<?php endif; ?>

<br class="clearfix" />
</div>




<div id="bottom">

<div id="user6">
                <jdoc:include type="modules" name="user6" style="xhtml" />

            </div>

  <div id="user7">
                <jdoc:include type="modules" name="user7" style="xhtml" />

            </div>

  <div id="user8">
                <jdoc:include type="modules" name="user8" style="xhtml" />

            </div>

  <div id="user9">
                <jdoc:include type="modules" name="user9" style="xhtml" />

            </div>

  <div id="user10">
                <jdoc:include type="modules" name="user10" style="xhtml" />

            </div>

<br class="clearfix" />

</div>




<?php if ($this->countModules'sitemap' )) : ?>
<div id="bottom2">

<div id="sitemap">
                <jdoc:include type="modules" name="sitemap" style="xhtml"/>

            </div>

  <div id="user11">
                <jdoc:include type="modules" name="user11" style="xhtml"/>

            </div>
<br class="clearfix" />

</div>


<div id="footerwrap">

<div id="user12">
                <jdoc:include type="modules" name="user12" style="xhtml"/>

            </div>

  <div id="footnav">
                <jdoc:include type="modules" name="footnav" style="xhtml" />

            </div>
           
            <div id="footer">
                <jdoc:include type="modules" name="footer" style="xhtml" />

            </div>
<br class="clearfix" />

</div>
<?php endif; ?>
<br class="clearfix" />



</div>




</body>
</html>


ovviamente ho dopo aver fatto le modifiche ho zippato e caricato... ma nulla
ho provato anche a caricarlo tramite ftp ma non riesco a visualizzarlo dall'administrator

aspetto notizie da esseri superiori  ;D io intanto continua a snerdare!
L'umanità avrà la sorte che saprà meritarsi.

mau_develop

  • Visitatore
Re:Problema nel convertire il template
« Risposta #1 il: 08 Mag 2012, 17:24:01 »
la 2.5 ha un modo ancora più semplice, esplora le direrectory e trova le estensioni da installare, template compreso.

Prova cercare qualche guida specifica

M.

 



Web Design Bolzano Kreatif