Ciao a tutti , sicuramente avrete gia' risposto a richieste del genere
ho da poco installato joomla scegliendo come template il clubysblue a tal proposito chiedevo il vostro aiuto poiche' vorrei allineare il blocco position-4 sulla stessa linea del blocco position-7 poiche se inserisco un immagine sul position-4 il menu' posizionato sul blocco position-7 mi sfalza e si va' a posizionare in fondo alla pagina vi allego il codice del file index e vi ringrazio in anticipo per qualsiasi aiuto saprete darmi.
<?php
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.framework', true);
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
$csite_name = $app->getCfg('sitename');
?>
<!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/clubysblue/css/tdefaut.css" type="text/css" media="all" />
<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/hoverIntent.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" />
<link href='http://fonts.googleapis.com/css?family=Sofia:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'>
<?php
$logoname = $this->params->get("logoname", "clubys blue");
$sloganame = $this->params->get("slogan", "");
?>
<?php
$mod_right = $this->countModules( 'position-7' );
if ( $mod_right ) { $width = ''; } else { $width = '-full';}
?>
<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: true,
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: 5000,
captionOpacity: 1
}); });
</script>
</head>
<body>
<div class="pagewidth">
<div id="header">
<div id="sitename">
<span class="logo"><a href="index.php"><?php echo $logoname ?>[/url]</span>
<span class="slogan"><?php echo $sloganame ?></span>
<>
<div id="search">
<jdoc:include type="modules" name="position-0" />
<>
<>
<div id="topmenu">
<div class="navigation">
<jdoc:include type="modules" name="position-1" />
<>
<>
<?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 } ?>
<?php if ($this->countModules('position-4')) { ?>
<div id="newsflash">
<jdoc:include type="modules" name="position-4" style="xhtml" />
<>
<?php } ?>
<div id="main<?php echo $width ?>">
<jdoc:include type="component" />
<>
<?php if ($this->countModules('position-7')) { ?>
<div id="right">
<jdoc:include type="modules" name="position-7" style="xhtml" />
<>
<?php } ?>
<div id="ft">
<div class="ftbl">
<?php echo date( 'Y' ); ?> <?php echo $csite_name; ?> <?php require("template.php"); ?>
<>
<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]
<>
<>
<>
<>
</body>
</html>