ciao grazie per la risposta
sono sul server di sgaragnao e pensavo francamente che la versone php fosse sufficientemente aggiornata, quale mi consigli e il cambio posso farlo da php admin o devo chiedere l'intervento del hosting...
per quanto riguarda le modifiche ne ho fatte diverse ma soprattutto sui colori e sui menu, niente di strutturale.
infatti l'unico problema è il footer che sono IE si vede in mezzo alla pagina... non capisco
nei file del template ci sono alcuni file hackie, hackie6, hackie7 che riportano questo codice
_____________________ ie7hacks______________________
/*
* IE7 Hacks
*/
/* layout */
div#toppanel {
position: static;
}
______________ie7hacks____________________
/*
* IE6 Hacks
*/
/* layout */
div#toppanel {
position: static;
}
div#styleswitcher a {
cursor: pointer;
}
div#middle .background {
overflow: visible;
height: 140px;
}
div#middle .layoutleft div#main {
padding: 0px 0px 0px 7px;
}
div#middle .layoutright div#main {
padding: 0px 0px 0px 7px;
}
/* menu */
#left div.moduletable_menu li {
width: 200px;
overflow: hidden;
}
#left div.moduletable_menu li a:hover {
text-decoration: none;
}
#left div.moduletable_menu li.toggler {
overflow: visible;
}
#left div.moduletable_menu li.active {
overflow: visible;
}
.layoutleft #left div.moduletable_menu li.level1 a, .layoutleft #left div.moduletable_menu li.level1 span.separator {
background: url(../images/submenu_level2_item_left_ie6.png) 0 0 no-repeat;
}
.layoutright #left div.moduletable_menu li.level1 a, .layoutright #left div.moduletable_menu li.level1 span.separator {
background: url(../images/submenu_level2_item_right_ie6.png) 100% 0 no-repeat;
}
#left div.moduletable_menu li.active a {
color: #646464;
}
/* module */
/* joomla */
div#yt-login {
width: auto;
}
div#yt-login .yt-lostpassword, div#yt-login .yt-registration {
line-height: 10px;
}
div#yoo-search {
height: 20px;
}
/* extensions */
_____________________iehacks__________________
/* clearing & floating */
.clearingfix { display: inline-block; }
/* Hides from IE-mac \*/
* html .clearingfix { height: 1%; }
.clearingfix { display: block; }
/* End hide from IE-mac */
* html .floatbox { width:100%; }
.ie_fix_floats {
width: 100%;
padding: 0 1px 0 1px;
margin: 0 -1px 0 -1px;
overflow: hidden;
}
/* Escaping Floats Bug */
/* Hides from IE-mac \*/
.floatholder { height: 1%; }
/* End hide from IE-mac */
/* Peekaboo Bug */
/* * html #left { position:relative; } */
/* * html #right { position:relative; } */
/* * html #main { position:relative; } */
/* force hasLayout */
#wrapper, #header, #top, #middle, #bottom { zoom: 1; }
/* Doubled Float Margins */
* html #left { display: inline; }
* html #right { display: inline; }
* html .float-left { display: inline; }
* html .float-right { display: inline; }
/* IE and italics Problem */
* html #left_container { overflow: visible; }
* html #right_container { overflow: visible; }
* html #main_container { overflow: visible; }
* html i, * html em { overflow: visible; display:inline-block; }
/* Expanding Box Problem */
* html #left_container { word-wrap: break-word; }
* html #right_container { word-wrap: break-word; }
* html #main_container { word-wrap: break-word; }
/* Disappearing List-Background Bug */
/* * html ul { position: relative; } */
/* * html ol { position: relative; } */
/* * html dl { position: relative; } */
/* * html blockquote { zoom:1 } */
/* IE/Win Guillotine Bug */
a, a:hover { background-color: transparent; }
____________________________________
secondo te devo creare uno script anchep er ie8 e ie9?
ciao
questo è il codice di index.php
forse devo mettere le mani alla div del footer?
==========================================
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/yootools.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/php/yoolayout.php');
$template_baseurl = $this->baseurl . '/templates/' . $this->template;
JHTML::_('behavior.mootools');
// add template mootools to JDocumentHTML
if ($this->params->get('loadMootools')) {
$this->_scripts = array_merge(array($template_baseurl . '/lib/js/mootools.js.php' => 'text/javascript'), $this->_scripts);
unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']);
}
// add template javascript to JDocumentHTML
if ($this->params->get('loadJavascript')) {
$this->addScriptDeclaration($yTools->getJavaScript());
$this->addCustomTag('<script type="text/javascript" src="' . $template_baseurl . '/lib/js/template.js.php"></script>');
}
// add template css to JDocumentHTML
$this->addStyleSheet($template_baseurl . '/css/template.css.php?color=' . $this->params->get('color')
. '&styleswitcherFont=' . $this->params->get('styleswitcherFont')
. '&styleswitcherWidth=' . $this->params->get('styleswitcherWidth')
. '&widthThinPx=' . $this->params->get('widthThinPx')
. '&widthWidePx=' . $this->params->get('widthWidePx')
. '&widthFluidPx=' . $this->params->get('widthFluidPx'));
$this->addStyleSheet($template_baseurl . '/lib/js/lightbox/css/slimbox.css');
?>
<!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" />
</head>
<body id="page" class="<?php echo $yTools->getCurrentStyle(); ?> <?php echo $itemcolor; ?>">
<?php if($this->params->get('dogear')) { ?>
<div id="dogear">
</div>
<?php } ?>
<?php if($this->params->get('toppanel') && $this->countModules('cpanel')) { ?>
<div id="toppanel-container">
<div id="toppanel-wrapper">
<div id="toppanel">
<div class="panel">
<div class="close">
close
</div>
<div class="cpanel">
<jdoc:include type="modules" name="cpanel" style="xhtml" />
</div>
</div>
</div>
</div>
<div class="trigger">
<div class="trigger-l"><img class="correct-png" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/toppanel_trigger_l.png" alt="Top Panel" /></div>
<div class="trigger-m"><?php echo $this->params->get('textToppanel'); ?></div>
<div class="trigger-r"><img class="correct-png" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/toppanel_trigger_r.png" alt="Top Panel" /></div>
</div>
</div>
<?php } ?>
<div id="page-header">
<div class="wrapper floatholder">
<div id="header">
<a href="<?php echo $this->baseurl ?>"><img id="logo" class="correct-png" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo.png" alt="Home" title="Home" />[/url]
<?php if($this->params->get('styleswitcherFont') || $this->params->get('styleswitcherWidth')) { ?>
<div id="styleswitcher">
<?php if($this->params->get('styleswitcherWidth')) { ?>
<a id="switchwidthfluid" href="javascript:void(0)" title="Fluid width">[/url]
<a id="switchwidthwide" href="javascript:void(0)" title="Wide width">[/url]
<a id="switchwidththin" href="javascript:void(0)" title="Thin width">[/url]
<?php } ?>
<?php if($this->params->get('styleswitcherFont')) { ?>
<span class="spacer"></span>
<a id="switchfontlarge" href="javascript:void(0)" title="Increase font size">[/url]
<a id="switchfontmedium" href="javascript:void(0)" title="Default font size">[/url]
<a id="switchfontsmall" href="javascript:void(0)" title="Decrease font size">[/url]
<?php } ?>
</div>
<?php } ?>
<div id="topmenu">
<?php if($this->params->get('date')) { ?>
<div id="date">
<?php echo $date->toFormat(JText::_('DATE_FORMAT_LC')); ?>
</div>
<?php } ?>
<jdoc:include type="modules" name="topmenu" />
</div>
<?php if($this->countModules('search')) { ?>
<div id="search">
<jdoc:include type="modules" name="search" />
</div>
<?php } ?>
<?php if($this->countModules('top')) { ?>
<div id="topmodule">
<jdoc:include type="modules" name="top" />
</div>
<?php } ?>
<?php if($this->countModules('menu')) { ?>
<div id="menu">
<div class="overlay"></div>
<jdoc:include type="modules" name="menu" />
</div>
<?php } ?>
</div>
</div>
</div>
<div id="page-body">
<div class="wrapper floatholder">
<?php if ($this->countModules('user1 + user2 + user3')) { ?>
<div id="top">
<div class="floatbox ie_fix_floats">
<?php if($this->countModules('user1')) { ?>
<div class="topbox <?php echo $topboxwidth; ?> <?php echo $topbox12seperator; ?> float-left">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('user2')) { ?>
<div class="topbox <?php echo $topboxwidth; ?> <?php echo $topbox23seperator; ?> float-left">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('user3')) { ?>
<div class="topbox <?php echo $topboxwidth; ?> float-left">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php } ?>
</div>
</div>
<?php } ?>
<div id="middle">
<div class="background <?php echo $layoutstyle; ?>">
<?php if($this->countModules('left')) { ?>
<div id="left">
<div id="left_container" class="clearingfix">
<?php if($this->countModules('left')) { ?>
<jdoc:include type="modules" name="left" style="xhtml" />
<?php } ?>
</div>
</div>
<?php } ?>
<div id="main">
<div id="main_container" class="clearingfix">
<?php if ($this->countModules('user4 + user5')) { ?>
<div id="maintop" class="floatbox">
<?php if($this->countModules('user4')) { ?>
<div class="maintopbox <?php echo $maintopboxwidth; ?> <?php echo $maintopbox12seperator; ?> float-left">
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('user5')) { ?>
<div class="maintopbox <?php echo $maintopboxwidth; ?> float-left">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
<?php } ?>
</div>
<?php } ?>
<div id="mainmiddle" class="floatbox <?php echo $rightbackground; ?>">
<?php if($this->countModules('right')) { ?>
<div id="right">
<div id="right_container" class="clearingfix">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
</div>
<?php } ?>
<div id="content">
<div id="content_container" class="clearingfix">
<?php if ($this->countModules('advert1 + advert2')) { ?>
<div id="contenttop" class="floatbox">
<?php if($this->countModules('advert1')) { ?>
<div class="contenttopbox left <?php echo $contenttopboxwidth; ?> <?php echo $contenttopbox12seperator; ?> float-left">
<jdoc:include type="modules" name="advert1" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('advert2')) { ?>
<div class="contenttopbox right <?php echo $contenttopboxwidth; ?> float-left">
<jdoc:include type="modules" name="advert2" style="xhtml" />
</div>
<?php } ?>
</div>
<?php } ?>
<?php if ($this->countModules('breadcrumb')) { ?>
<div id="breadcrumb">
<jdoc:include type="modules" name="breadcrumb" />
</div>
<?php } ?>
<div class="floatbox">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
<?php if ($this->countModules('advert3 + advert4')) { ?>
<div id="contentbottom" class="floatbox">
<?php if($this->countModules('advert3')) { ?>
<div class="contentbottombox left <?php echo $contentbottomboxwidth; ?> <?php echo $contentbottombox12seperator; ?> float-left">
<jdoc:include type="modules" name="advert3" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('advert4')) { ?>
<div class="contentbottombox right <?php echo $contentbottomboxwidth; ?> float-left">
<jdoc:include type="modules" name="advert4" style="xhtml" />
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
<?php if ($this->countModules('user6 + user7')) { ?>
<div id="mainbottom" class="floatbox">
<?php if($this->countModules('user6')) { ?>
<div class="mainbottombox <?php echo $mainbottomboxwidth; ?> <?php echo $mainbottombox12seperator; ?> float-left">
<jdoc:include type="modules" name="user6" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('user7')) { ?>
<div class="mainbottombox <?php echo $mainbottomboxwidth; ?> float-left">
<jdoc:include type="modules" name="user7" style="xhtml" />
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="page-footer">
<div class="wrapper floatholder">
<?php if ($this->countModules('user8 + bottom + user9')) { ?>
<div id="bottom">
<div class="floatbox ie_fix_floats">
<?php if($this->countModules('user8')) { ?>
<div class="bottombox <?php echo $bottomboxwidth; ?> <?php echo $bottombox12seperator; ?> float-left">
<jdoc:include type="modules" name="user8" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('bottom')) { ?>
<div class="bottombox <?php echo $bottomboxwidth; ?> <?php echo $bottombox23seperator; ?> float-left">
<jdoc:include type="modules" name="bottom" style="xhtml" />
</div>
<?php } ?>
<?php if($this->countModules('user9')) { ?>
<div class="bottombox <?php echo $bottomboxwidth; ?> float-left">
<jdoc:include type="modules" name="user9" style="xhtml" />
</div>
<?php } ?>
</div>
</div>
<?php } ?>
<div id="footer">
<?php if($this->countModules('footer')) { ?>
<jdoc:include type="modules" name="footer" />
<?php } ?>
</div>
<jdoc:include type="modules" name="debug" />
</div>
</div>
</body>
</html>