Back to top

Autore Topic: Problema generazione menų e template  (Letto 1600 volte)

Offline realreggiano

  • Nuovo arrivato
  • *
  • Post: 10
    • Mostra profilo
Problema generazione menų e template
« il: 20 Gen 2013, 02:12:47 »
Ciao Ragazzi,
purtroppo sono ancora nuovo per joomla e vi farō sicuramente domande stupide delle quali vi chiedo scusa.


Ho fatto il mio sito con il template e mi si apre in tutte le pagine l'immagine, so che c'č un codice da inserire, riuscite ad indicarmi che codice inserire e dove nella pagina di template che vi allego.


Ho un'altro problema, ho modificato il mio menų principale, ma non me lo aggiorna, sapete dirmi cosa posso fare per visualizzare il menų modificato.


Grazie
Luca
Codice: [Seleziona]
<?php // no direct access /** * @package                Template for joomla * @copyright        Copyright (C) 2012 a4joomla.com * @license                GNU General Public License version 2 or later */defined( '_JEXEC' ) or die( 'Restricted access' ); $showLeftColumn = (bool) $this->countModules('position-7');$showRightColumn = (bool) $this->countModules('position-6');$showRightColumn &= JRequest::getCmd('layout') != 'edit';$headerType = $this->params->get("headerType","1");$myimage = $this->params->get("myimage","winterlake1.jpg");$myfolder = $this->params->get("myfolder","sampledata");$duration = $this->params->get("duration","800");$delay = $this->params->get("delay","4000");$imageWidth = $this->params->get("imageWidth","940");$imageHeight = $this->params->get("imageHeight","380");$forceresize = $this->params->get("forceresize","0");$showControl = $this->params->get("showControl", "true");$display = $this->params->get("display","sequence");$arrowColor = $this->params->get("arrowColor","white");$frontpagediv="0";if ($headerType == "0" || $headerType == "1") {  $lang =& JFactory::getLanguage();  $locale = $lang->getTag();  $menu = JSite::getMenu();  if ($menu->getActive() == $menu->getDefault($locale)) {    $frontpagediv="1";  } } elseif ($headerType == "2" || $headerType == "3") {  $frontpagediv="1";}$imgrootdir = "templates/".$this->template."/images/";$margin = 40;$outermargin = 0;$logoText  = $this->params->get("logoText","Winterlake");$slogan  = $this->params->get("slogan","Template from a4joomla.com");$mytwitter = $this->params->get("myTwitter", "Yes");$twitterurl = $this->params->get("twitterUrl");$myfacebook = $this->params->get("myFacebook", "Yes");$facebookurl = $this->params->get("facebookUrl");$myfeed = $this->params->get("myFeed", "Yes");$feedurl = $this->params->get("feedUrl");$mygoogle = $this->params->get("myGoogle", "Yes");$googleurl = $this->params->get("googleUrl");$myyoutube = $this->params->get("myYoutube", "Yes");$youtubeurl = $this->params->get("youtubeUrl");$pageWidth  = $this->params->get("pageWidth", "980");$pageWidth  = $pageWidth - $outermargin;$rightColumnWidth  = $this->params->get("rightColumnWidth", "190");$leftColumnWidth  = $this->params->get("leftColumnWidth", "190");$logoWidth  = $this->params->get("logoWidth", "260");$widthdiff = 40;if ($forceresize == "1") {  $imageHeight = round($imageHeight * ($pageWidth + $outermargin - $widthdiff) / $imageWidth);  $imageWidth = $pageWidth + $outermargin - $widthdiff;}$controlPosition = 50 - 2500/$imageHeight;$headerrightWidth = $pageWidth + $outermargin - $logoWidth - 60;if ($showLeftColumn && $showRightColumn) {   $contentWidth = $pageWidth - $leftColumnWidth - $rightColumnWidth - 3*$margin;} elseif (!$showLeftColumn && $showRightColumn) {   $contentWidth = $pageWidth - $rightColumnWidth - 2*$margin ;} elseif ($showLeftColumn && !$showRightColumn) {   $contentWidth = $pageWidth - $leftColumnWidth - 2*$margin ;} else {   $contentWidth = $pageWidth - $margin ;}JHTML::_('behavior.framework', true);  ?><!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" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/grey.css" type="text/css" /><!--[if IE 6]><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" /><style type="text/css">img, div, a, input { behavior: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/iepngfix.htc) }#search input.inputbox { behavior:none;}</style><script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/iepngfix_tilebg.js" type="text/javascript"></script><![endif]--><!--[if lte IE 7]><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie67.css" type="text/css" /><![endif]--><!--[if lte IE 8]><style type="text/css">#search input.inputbox { behavior: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/PIE.php) }</style><![endif]--><style type="text/css"> #logo {    width:<?php echo $logoWidth?>px; } #headerright {    width:<?php echo $headerrightWidth?>px; }  #slideshow-container {  width:<?php echo $pageWidth $outermargin $widthdiff?>px;  height:<?php echo $imageHeight?>px; } #slideshow-container img {   width:<?php echo $imageWidth?>px;   height:<?php echo $imageHeight?>px; } #slcontrol {  width:<?php echo $imageWidth?>px;   top:<?php echo $controlPosition?>%; } a#slprev {    background: url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/previous-<?php echo $arrowColor?>.png") no-repeatscroll left center transparent; } a#slnext {    background: url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/next-<?php echo $arrowColor?>.png") no-repeat scrollright center transparent; }</style><script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/verysimpleslideshow.js" type="text/javascript"></script><?php if (($headerType == "1" || $headerType == "3") && $frontpagediv == "1") : ?><script type="text/javascript">window.addEvent('domready',function() {  var slideshow = new VerySimpleSlideshow({    container: 'slideshow-container',    elements: '#slideshow-container img',    showControls: <?php echo $showControl?>,    transDelay: <?php echo $delay?>,    transDuration: <?php echo $duration?>  });  slideshow.start();  });</script><?php endif; ?></head><body><div id="headerwrap" class="gainlayout">  <div id="header" class="gainlayout" style="width:<?php echo $pageWidth $outermargin?>px;">            <div id="logo" class="gainlayout">           <h2><a href="<?php echo JURI::base(); ?>" title="<?php echo htmlspecialchars($logoText); ?>"><?php echo htmlspecialchars($logoText); ?></a></h2>      <h3><?php echo htmlspecialchars($slogan); ?></h3>       </div>    <div id="headerright" class="gainlayout">        <div id="hsocial" class="gainlayout">      <?php if($this->countModules('position-0')) : ?>        <div id="search" class="gainlayout">          <jdoc:include type="modules" name="position-0" style="xhtml" />         <div class="clr"></div>          </div>      <?php endif; ?>      <?php if($myyoutube == "Yes") : ?>        <a class="myyoutube" href="<?php echo $youtubeurl?>"><img src="<?php echo $imgrootdir ?>youtube.png"  border="0" alt="Youtube" title="Youtube"/></a>      <?php endif; ?>      <?php if($myfeed == "Yes") : ?>        <a class="myfeed" href="<?php echo $feedurl?>"><img src="<?php echo $imgrootdir ?>feed.png"  border="0" alt="Feed" title="Feed" /></a>      <?php endif; ?>      <?php if($mytwitter == "Yes") : ?>        <a class="mytwitter" href="<?php echo $twitterurl?>"><img src="<?php echo $imgrootdir ?>twitter.png"  border="0" alt="Twitter" title="Twitter"/></a>      <?php endif; ?>      <?php if($mygoogle == "Yes") : ?>        <a class="mygoogle" href="<?php echo $googleurl?>"><img src="<?php echo $imgrootdir ?>google.png"  border="0" alt="Google plus" title="Google plus" /></a>      <?php endif; ?>      <?php if($myfacebook == "Yes") : ?>        <a class="myfacebook" href="<?php echo $facebookurl?>"><img src="<?php echo $imgrootdir ?>facebook.png"  border="0" alt="Facebook"title="Facebook" /></a>      <?php endif; ?>      <div class="clr"></div>    </div>      <?php if($this->countModules('position-1')) : ?>           <div id="topmenu" class="gainlayout">             <jdoc:include type="modules" name="position-1" style="xhtml" />             <div class="clr"></div>           </div>         <?php endif; ?>        <div class="clr"></div>      </div>      <div class="clr"></div>  </div></div><?php if ($frontpagediv == "1" && $headerType != "4") {?>  <div id="slideshow-allwrap">    <div id="slideshow-container">    <?php    if ($headerType == "0" || $headerType == "2") {      echo '<img src="'.$imgrootdir.$myimage.'" alt="" />';    } elseif ($headerType == "1" || $headerType == "3") {      $picDir$imgrootdir.$myfolder;      $picDir .="/";      if (file_exists($picDir) && is_readable($picDir)) {        $folder opendir($picDir);      } else {        echo '<div class="message">Error! Please check the parameter settings and make sure you have entered a valid image folder path!<>';        return;      }      $allowed_types = array("jpg","JPG","jpeg","JPEG","gif","GIF","png","PNG","bmp","BMP");      $index = array();      while ($file readdir ($folder)) {        if(in_array(substr(strtolower($file), strrpos($file,".") + 1),$allowed_types)) {array_push($index,$file);}      }      closedir($folder);      if($display == 'random') {shuffle($index);} else {sort($index);}      foreach ($index as $file) {        $finalpath $picDir.$file;          // output        echo '<img src="'.$finalpath.'" alt="'.$file.'" />';      }      if ($showControl) echo '<div id="slcontrol"> <>';    }    ?>    </div>     </div><?php ?> <div id="allwrap" class="gainlayout"><div id="wrap" class="gainlayout" style="width:<?php echo $pageWidth $outermargin?>px;">  <?php if($this->countModules('position-2')) : ?>    <div id="pathway" class="gainlayout">        <jdoc:include type="modules" name="position-2" />      <div class="clr"></div>    </div>  <?php endif; ?>   <div id="cbody" class="gainlayout">  <?php if($showLeftColumn) : ?>  <div id="sidebar" style="width:<?php echo $leftColumnWidth?>px;">           <jdoc:include type="modules" name="position-7" style="xhtml" />      </div>  <?php endif; ?>  <div id="content60" style="width:<?php echo $contentWidth?>px;">          <div id="content" class="gainlayout">    <jdoc:include type="message" />    <jdoc:include type="component" />       </div>   </div>  <?php if($showRightColumn) : ?>  <div id="sidebar-2" style="width:<?php echo $rightColumnWidth?>px;">           <jdoc:include type="modules" name="position-6" style="xhtml" />       </div>  <?php endif; ?>  <div class="clr"></div>  </div>  <!--end of wrap--></div>    <!--end of allwrap--></div><div id="footerwrap" class="gainlayout">   <div id="footer" class="gainlayout" style="width:<?php echo $pageWidth $outermargin?>px;">         <?php if($this->countModules('position-14')) : ?>           <jdoc:include type="modules" name="position-14" style="xhtml" />           <?php endif; ?>  </div>  <div id="a4j" style="width:<?php echo $pageWidth $outermargin?>px;"><a href="http://a4joomla.com/"><?php echo JText::_('TPL_A4JOOMLA-WINTERLAKE-FREE_FOOTER_LINK_TEXT');?></a></div>  </div></body></html>

Offline conti1

  • Global Moderator
  • Instancabile
  • *****
  • Post: 9075
  • Sesso: Maschio
    • Mostra profilo
Re:Problema generazione menų e template
« Risposta #1 il: 20 Gen 2013, 03:02:36 »
ciao
capiamo che sei nuovo , ma prova almeno  a fare le domande con un senso.

leggi  e dimmi che potresti capire?

Citazione
Ho fatto il mio sito con il template e mi si apre in tutte le pagine l'immagine, so che c'č un codice da inserire, riuscite ad indicarmi che codice inserire e dove nella pagina di template che vi allego.

immagine di cosa?

idem x il menu cosa hai modificato.


se possibile postare il link  x risolvere al meglio il problema grazie
evitare nomi commerciali grazie

Offline realreggiano

  • Nuovo arrivato
  • *
  • Post: 10
    • Mostra profilo
Re:Problema generazione menų e template
« Risposta #2 il: 20 Gen 2013, 11:11:18 »
Ciao,


scusa per la poca chiarezza nel post.


Proviamo a vedere se adesso riesco a esprimermi meglio:
Ho due problemi:
1) il template che ho intenzione di usare, prevede un'immagine o una slide show in home page. Quello che mi servirebbe č sapere come fare per eliminare l'immagine/slide show nelle pagine interne del sito.
In pratica la vorrei tenere solo nella homepage, mentre in tutte le altre pagine vorrei che comparisse la sola pagine web senza slideshow[size=78%].[/size]

2)ho modificato il menų presente e ho inserito i collegamenti che mi interessavano.
In pratica č come non venissero aggiornati i collegamenti alle pagine e anche se li creo nuovi mi dā il seguente messaggio d'errore:

Not FoundThe requested URL /sponsor was not found on this server.
La cosa strana č che nel pannello administrator sono corretti e se li metto come pagine predefinite in homepage la pagina si vede correttamente.


Spero di essere stato pių chiaro
Luca


Codice: [Seleziona]
<?php // no direct access /** * @package                Template for joomla * @copyright        Copyright (C) 2012 a4joomla.com * @license                GNU General Public License version 2 or later */defined( '_JEXEC' ) or die( 'Restricted access' ); $showLeftColumn = (bool) $this->countModules('position-7');$showRightColumn = (bool) $this->countModules('position-6');$showRightColumn &= JRequest::getCmd('layout') != 'edit';$headerType = $this->params->get("headerType","1");$myimage = $this->params->get("myimage","winterlake1.jpg");$myfolder = $this->params->get("myfolder","sampledata");$duration = $this->params->get("duration","800");$delay = $this->params->get("delay","4000");$imageWidth = $this->params->get("imageWidth","940");$imageHeight = $this->params->get("imageHeight","380");$forceresize = $this->params->get("forceresize","0");$showControl = $this->params->get("showControl", "true");$display = $this->params->get("display","sequence");$arrowColor = $this->params->get("arrowColor","white");$frontpagediv="0";if ($headerType == "0" || $headerType == "1") {  $lang =& JFactory::getLanguage();  $locale = $lang->getTag();  $menu = JSite::getMenu();  if ($menu->getActive() == $menu->getDefault($locale)) {    $frontpagediv="1";  } } elseif ($headerType == "2" || $headerType == "3") {  $frontpagediv="1";}$imgrootdir = "templates/".$this->template."/images/";$margin = 40;$outermargin = 0;$logoText  = $this->params->get("logoText","Winterlake");$slogan  = $this->params->get("slogan","Template from a4joomla.com");$mytwitter = $this->params->get("myTwitter", "Yes");$twitterurl = $this->params->get("twitterUrl");$myfacebook = $this->params->get("myFacebook", "Yes");$facebookurl = $this->params->get("facebookUrl");$myfeed = $this->params->get("myFeed", "Yes");$feedurl = $this->params->get("feedUrl");$mygoogle = $this->params->get("myGoogle", "Yes");$googleurl = $this->params->get("googleUrl");$myyoutube = $this->params->get("myYoutube", "Yes");$youtubeurl = $this->params->get("youtubeUrl");$pageWidth  = $this->params->get("pageWidth", "980");$pageWidth  = $pageWidth - $outermargin;$rightColumnWidth  = $this->params->get("rightColumnWidth", "190");$leftColumnWidth  = $this->params->get("leftColumnWidth", "190");$logoWidth  = $this->params->get("logoWidth", "260");$widthdiff = 40;if ($forceresize == "1") {  $imageHeight = round($imageHeight * ($pageWidth + $outermargin - $widthdiff) / $imageWidth);  $imageWidth = $pageWidth + $outermargin - $widthdiff;}$controlPosition = 50 - 2500/$imageHeight;$headerrightWidth = $pageWidth + $outermargin - $logoWidth - 60;if ($showLeftColumn && $showRightColumn) {   $contentWidth = $pageWidth - $leftColumnWidth - $rightColumnWidth - 3*$margin;} elseif (!$showLeftColumn && $showRightColumn) {   $contentWidth = $pageWidth - $rightColumnWidth - 2*$margin ;} elseif ($showLeftColumn && !$showRightColumn) {   $contentWidth = $pageWidth - $leftColumnWidth - 2*$margin ;} else {   $contentWidth = $pageWidth - $margin ;}JHTML::_('behavior.framework', true);  ?><!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" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/grey.css" type="text/css" /><!--[if IE 6]><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" /><style type="text/css">img, div, a, input { behavior: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/iepngfix.htc) }#search input.inputbox { behavior:none;}</style><script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/iepngfix_tilebg.js" type="text/javascript"></script><![endif]--><!--[if lte IE 7]><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ie67.css" type="text/css" /><![endif]--><!--[if lte IE 8]><style type="text/css">#search input.inputbox { behavior: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/PIE.php) }</style><![endif]--><style type="text/css"> #logo {    width:<?php echo $logoWidth?>px; } #headerright {    width:<?php echo $headerrightWidth?>px; }  #slideshow-container {  width:<?php echo $pageWidth $outermargin $widthdiff?>px;  height:<?php echo $imageHeight?>px; } #slideshow-container img {   width:<?php echo $imageWidth?>px;   height:<?php echo $imageHeight?>px; } #slcontrol {  width:<?php echo $imageWidth?>px;   top:<?php echo $controlPosition?>%; } a#slprev {    background: url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/previous-<?php echo $arrowColor?>.png") no-repeatscroll left center transparent; } a#slnext {    background: url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/next-<?php echo $arrowColor?>.png") no-repeat scrollright center transparent; }</style><script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/verysimpleslideshow.js" type="text/javascript"></script><?php if (($headerType == "1" || $headerType == "3") && $frontpagediv == "1") : ?><script type="text/javascript">window.addEvent('domready',function() {  var slideshow = new VerySimpleSlideshow({    container: 'slideshow-container',    elements: '#slideshow-container img',    showControls: <?php echo $showControl?>,    transDelay: <?php echo $delay?>,    transDuration: <?php echo $duration?>  });  slideshow.start();  });</script><?php endif; ?></head><body><div id="headerwrap" class="gainlayout">  <div id="header" class="gainlayout" style="width:<?php echo $pageWidth $outermargin?>px;">            <div id="logo" class="gainlayout">           <h2><a href="<?php echo JURI::base(); ?>" title="<?php echo htmlspecialchars($logoText); ?>"><?php echo htmlspecialchars($logoText); ?>[/url]</h2>      <h3><?php echo htmlspecialchars($slogan); ?></h3>       <>    <div id="headerright" class="gainlayout">        <div id="hsocial" class="gainlayout">      <?php if($this->countModules('position-0')) : ?>        <div id="search" class="gainlayout">          <jdoc:include type="modules" name="position-0" style="xhtml" />         <div class="clr"><>          <>      <?php endif; ?>      <?php if($myyoutube == "Yes") : ?>        <a class="myyoutube" href="<?php echo $youtubeurl?>"><img src="<?php echo $imgrootdir ?>youtube.png"  border="0" alt="Youtube" title="Youtube"/>[/url]      <?php endif; ?>      <?php if($myfeed == "Yes") : ?>        <a class="myfeed" href="<?php echo $feedurl?>"><img src="<?php echo $imgrootdir ?>feed.png"  border="0" alt="Feed" title="Feed" />[/url]      <?php endif; ?>      <?php if($mytwitter == "Yes") : ?>        <a class="mytwitter" href="<?php echo $twitterurl?>"><img src="<?php echo $imgrootdir ?>twitter.png"  border="0" alt="Twitter" title="Twitter"/>[/url]      <?php endif; ?>      <?php if($mygoogle == "Yes") : ?>        <a class="mygoogle" href="<?php echo $googleurl?>"><img src="<?php echo $imgrootdir ?>google.png"  border="0" alt="Google plus" title="Google plus" />[/url]      <?php endif; ?>      <?php if($myfacebook == "Yes") : ?>        <a class="myfacebook" href="<?php echo $facebookurl?>"><img src="<?php echo $imgrootdir ?>facebook.png"  border="0" alt="Facebook"title="Facebook" />[/url]      <?php endif; ?>      <div class="clr"><>    <>      <?php if($this->countModules('position-1')) : ?>           <div id="topmenu" class="gainlayout">             <jdoc:include type="modules" name="position-1" style="xhtml" />             <div class="clr"><>           <>         <?php endif; ?>        <div class="clr"><>      <>      <div class="clr"><>  <><><?php if ($frontpagediv == "1" && $headerType != "4") {?>  <div id="slideshow-allwrap">    <div id="slideshow-container">    <?php    if ($headerType == "0" || $headerType == "2") {      echo '<img src="'.$imgrootdir.$myimage.'" alt="" />';    } elseif ($headerType == "1" || $headerType == "3") {      $picDir$imgrootdir.$myfolder;      $picDir .="/";      if (file_exists($picDir) && is_readable($picDir)) {        $folder opendir($picDir);      } else {        echo '<div class="message">Error! Please check the parameter settings and make sure you have entered a valid image folder path!<>';        return;      }      $allowed_types = array("jpg","JPG","jpeg","JPEG","gif","GIF","png","PNG","bmp","BMP");      $index = array();      while ($file readdir ($folder)) {        if(in_array(substr(strtolower($file), strrpos($file,".") + 1),$allowed_types)) {array_push($index,$file);}      }      closedir($folder);      if($display == 'random') {shuffle($index);} else {sort($index);}      foreach ($index as $file) {        $finalpath $picDir.$file;          // output        echo '<img src="'.$finalpath.'" alt="'.$file.'" />';      }      if ($showControl) echo '<div id="slcontrol"> <>';    }    ?>    <>     <><?php ?> <div id="allwrap" class="gainlayout"><div id="wrap" class="gainlayout" style="width:<?php echo $pageWidth $outermargin?>px;">  <?php if($this->countModules('position-2')) : ?>    <div id="pathway" class="gainlayout">        <jdoc:include type="modules" name="position-2" />      <div class="clr"><>    <>  <?php endif; ?>   <div id="cbody" class="gainlayout">  <?php if($showLeftColumn) : ?>  <div id="sidebar" style="width:<?php echo $leftColumnWidth?>px;">           <jdoc:include type="modules" name="position-7" style="xhtml" />      <>  <?php endif; ?>  <div id="content60" style="width:<?php echo $contentWidth?>px;">          <div id="content" class="gainlayout">    <jdoc:include type="message" />    <jdoc:include type="component" />       <>   <>  <?php if($showRightColumn) : ?>  <div id="sidebar-2" style="width:<?php echo $rightColumnWidth?>px;">           <jdoc:include type="modules" name="position-6" style="xhtml" />       <>  <?php endif; ?>  <div class="clr"><>  <>  <!--end of wrap--><>    <!--end of allwrap--><><div id="footerwrap" class="gainlayout">   <div id="footer" class="gainlayout" style="width:<?php echo $pageWidth $outermargin?>px;">         <?php if($this->countModules('position-14')) : ?>           <jdoc:include type="modules" name="position-14" style="xhtml" />           <?php endif; ?>  <>  <div id="a4j" style="width:<?php echo $pageWidth $outermargin?>px;"><?php echo JText::_('TPL_A4JOOMLA-WINTERLAKE-FREE_FOOTER_LINK_TEXT');?><>  <></body></html>

adottauncane

  • Visitatore
Re:Problema generazione menų e template
« Risposta #3 il: 20 Gen 2013, 13:00:29 »
Ciao realreggiano,
1) inserisce il codice della slide fra queste righe:
Codice: [Seleziona]
<?php if(JRequest::getVar('view') == "featured" ) : ?>
               codice-slide
      <?php endif; ?>

2) Disattiva le opzioni SEO

Ciao conti1  :)

 



Web Design Bolzano Kreatif