Joomla.it Forum

Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => I Template di Joomla 1.6/1.7/2.5 => : dagh 20 Oct 2012, 11:03:12

: Problema template fresnico
: dagh 20 Oct 2012, 11:03:12
Salve a tutti,
vorrei utilizzare il template fresnico per il mio sito ma ho un piccolo grande problema. La galleria che compare nella home con le foto e i commenti scompare nelle altre pagine. Ho pensato fosse un problema di moduli ma non č cosi...deve essere gestito via codice..perņ non so dove mettere le mani..potete aiutarmi? Questo č il codice hmtl
:
<?php
/****************************************************
#####################################################
##-------------------------------------------------##
##               fresnico                          ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2012            ##
## Date      = juin 2012                           ##
## Author    = globbers                            ##
## Websites  = http://www.globbersthemes.com       ##
## version (joomla)                                ##
##                                                 ##
#####################################################
****************************************************/

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

?>


<!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?>" >
<head>

  <jdoc:include type="head" />
  <?php JHTML::_('behavior.framework'true); 
  
$app                JFactory::getApplication();
  
$templateparams     $app->getTemplate(true)->params;
  
$csite_name          $app->getCfg('sitename');
  
$path $this->baseurl.'/templates/'.$this->template;
    
?>

 
  <?php $mod_right $this->countModules'position-7' );     
     if ( 
$mod_right ) { $width '';    } else { $width '-full';}  ?>


<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/fresnico/css/tdefaut.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/fresnico/css/box.css" type="text/css" media="all" />
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/js/mootools.js"></script>   
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/script.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>       
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script> 
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/hover.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/nivo.slider.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl?>/templates/<?php echo $this->template?>/favicon.gif" />

    <script type="text/javascript">
    window.addEvent('domready', function() {
    SqueezeBox.initialize({});
    $$('a.modal').each(function(el) {
    el.addEvent('click', function(e) {
    new Event(e).stop();
    SqueezeBox.fromElement(el);
     }); }); });
    </script>

    <script type="text/javascript">
     var $j = jQuery.noConflict();
  $j(document).ready(function() {     
  $j('.navigation ul').superfish({     
  delay:       800,                                 
  animation:   {opacity:'show',height:'show'},       
  speed:       'normal',                               
  autoArrows:  false,                                 
  dropShadows: true                               
  });     });
  </script>


  <script type="text/javascript">
   var $j = jQuery.noConflict();
   jQuery(document).ready(function ($){
    $j("#slider").nivoSlider(
    {effect: "sliceUpDown",
    slices: 15,
    boxCols: 8,
    boxRows: 4,
    animSpeed: 1000,
    pauseTime: 3000,
    captionOpacity: 1
 
     }); });
    </script>

</head>
<body>
    <div id="topmenu">
        <div class="pagewidth">
        <div class="navigation">                                                   
               <jdoc:include type="modules" name="position-1" />                                           
          </div>
      </div>
  </div>
      <div class="pagewidth">
            <div id="wrapper">
        <div id="sitename">
          <div id="sitename-left">
              <div id="toolitem">
                    <div id="loginbt">
                                <div class="text-login"> 
                        <a href="#helpdiv" class="modal"  style="cursor:pointer" title="Login"  rel="{size: {x: 206, y: 285}, ajaxOptions: {method: &quot;get&quot;}}">
                                        Login form / create an account
                        [/url]
                      </div>
                            </div>
                                <div style="display:none;">
                                    <div id="helpdiv" >
                                        <jdoc:include type="modules" name="login" style="xhtml" />
                                    </div>
                                </div>
                  </div>
              <div id="search">
                <jdoc:include type="modules" name="position-0" />   
                </div>
                </div>
            <div id="sitename-center">
             
              <div id="logo">                                                   
                              <a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.png" width="276" height="96" alt="logotype" />[/url]   
             
                          </div>     
              </div>
              <div id="sitename-right">
                  <div id="title-item"><span>social bookmarks</span></div>
                    <div id="social-item">
                      <div id="facebook">
                          <a href="#"><img src="templates/<?php echo $this->template ?>/images/facebook.png" width="36" height="36" alt="facebook" />[/url]
                    </div>
                    <div id="twitter">
                          <a href="#"><img src="templates/<?php echo $this->template ?>/images/twitter.png" width="36" height="36" alt="twitter" />[/url]
                    </div>
                    <div id="linkedin">
                          <a href="#"><img src="templates/<?php echo $this->template ?>/images/linkedin.png" width="36" height="36" alt="linkedin" />[/url]
                    </div>
                                    </div>                                                   
                          </div>     
          </div>
                <?php $menu JSite::getMenu(); ?>
                        <?php $lang JFactory::getLanguage(); ?>
                        <?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) { ?>
                        <?php if ($this->params->get'slidedisable' )) : ?>   <?php include "slideshow.php"?><?php endif; ?>
                        <?php ?>
                <div id="main<?php echo $width ?>">                               
                                <jdoc:include type="component" />               
                            </div>
                                <?php if ($this->countModules('position-7')) { ?>
                                    <div id="right">                                         
                                        <jdoc:include type="modules" name="position-7" style="xhtml" />                                     
                                    </div>
                                <?php ?>
                        <?php if ($this->countModules('position-3') || $this->countModules('position-4') || $this->countModules('position-6')) { ?>
                        <div id="box-wrap">
                        <div class="box">
                        <jdoc:include type="modules" name="position-3" style="xhtml" />
                      </div>
                      <div class="box">
                        <jdoc:include type="modules" name="position-4" style="xhtml" />
                      </div>
                      <div class="box">
                        <jdoc:include type="modules" name="position-6" style="xhtml" />
                      </div>
                    </div>
                    <?php ?>               
             
            </div>
        </div>
            <div id="ft">
          <div class="pagewidth">
          <div class="ftb">
              <?php echo date'Y' ); ?>&nbsp; <?php echo $csite_name?>&nbsp;&nbsp;<?php require("template.php"); ?>
                    </div>
            <div id="top">
                            <div class="top_button">
                                <a href="#" onclick="scrollToTop();return false;">
                        <img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top" />[/url]
                             
                            </div>
              </div>     
          </div>
            </div>       
 
</body>
</html>
Per vedere invece il problema potete andare su http://studiolocastro.net/ (http://studiolocastro.net/).
Grazie a tutti.