Buon pomeriggio a tutti,
uso joomla da un po' di tempo con grande soddisfazione e non ho riscontrato particolari difficoltà nella "stesura" di un piccolo portale web, ma ora sono costretto a domandare aiuto a chi ne sa più di me
Vorrei inserire una nuova posizione modulo non prevista nel template; per spiegarmi meglio vi allego una immagine delle posizioni del template compresa quella che vorrei inserire.
Grazie e buon weekend.
Il sito in questione è il seguente:
www.16maggio82.itEcco il codice delle posizioni del template:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
$siteName = $tmpConfig->sitename();
//$doc =& JFactory::getDocument();
//$doc->setDirection('rtl');
?>
<head>
<?php if( $ry_googlekey ) { ?><meta name="google-site-verification" content="<?php echo $ry_googlekey; ?>" /><?php } ?>
<?php if( $ry_yahookey ) { ?><meta name="y_key" content="<?php echo $ry_yahookey;?>" /><?php } ?>
<?php if($ry_msnkey) {?><meta name="msvalidate.01" content="<?php echo $ry_msnkey; ?>" /><?php } ?>
<jdoc:include type="head" />
<?php //remove mootools.js and caption.js
if ( $ry_js == 0 ) {
$headerstuff=$this->getHeadData();
reset($headerstuff['scripts']);
foreach($headerstuff['scripts'] as $key=>$value){
unset($headerstuff['scripts'][$key]);
}
$this->setHeadData($headerstuff);
}
?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/default.css" type="text/css" />
<?php
$cstyle = $_GET[color];
if ( $cstyle == 'red' ) { ?>
<?php if ( $ry_compres == 0 ) { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/red.css" type="text/css" />
<?php } else { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/css.gzip.php?color=red" type="text/css" />
<?php } ?>
<?php } else if ( $cstyle == 'blue') { ?>
<?php if ( $ry_compres == 0 ) { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/blue.css" type="text/css" />
<?php } else { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/css.gzip.php?color=blue" type="text/css" />
<?php } ?>
<?php } else if ( $cstyle == 'green') { ?>
<?php if ( $ry_compres == 0 ) { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/green.css" type="text/css" />
<?php } else { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/css.gzip.php?color=green" type="text/css" />
<?php } ?>
<?php } else { ?>
<?php if ( $ry_compres == 0 ) { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/<?php echo $ry_color; ?>.css" type="text/css" />
<?php } else { ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/css.gzip.php?color=<?php echo $ry_color; ?>" type="text/css" />
<?php } ?>
<?php } ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/typo.css" type="text/css" />
<?php if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $tmpConfig->templateurl(); ?>/css/template_rtl.css" type="text/css" />
<?php endif; ?>
<script language="javascript" type="text/javascript" src="<?php echo $tmpConfig->templateurl(); ?>/libs/js/menu.js"></script>
</head>
<body id="bg-bg" class="fs<?php echo $ry_font;?>">
<div id="ry-wrapper" class="main clearfix">
<!-- BEGIN TOP MENU -->
<?php if ( $user1 || $user2 ) : ?>
<div id="top-wrap" class="wrap clearfix">
<?php if($user1) : ?>
<div id="top-menu">
<jdoc:include type="modules" name="user1" />
</div>
<?php endif; ?>
<?php if($user2) : ?>
<div id="ry-search">
<jdoc:include type="modules" name="user2" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<!-- BEGIN HEADER -->
<div id="header" class="wrap clearfix">
<div id="header-logo">
<?php if( $tmpConfig->isContentPage() ) { ?>
<div class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</div>
<?php } else { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } ?>
</div>
<?php if( $ry_ad468x60 ) { ?>
<div id="ad468x60">
<?php echo $ry_ad468x60; ?>
</div>
<?php } ?>
<div class="clearfix"></div>
</div>
<!-- BEGIN MAINNAV -->
<div id="mainnav" class="wrap clearfix">
<?php echo $main_menu; ?>
</div>
<!-- BEGIN MAIN BODY -->
<?php if ($this->getBuffer('message')) : ?>
<div class="info"> <jdoc:include type="message" /> </div>
<?php endif; ?>
<!-- CODICE PER LA VISUALIZZAZIONE DEGLI ERRORI E MESSAGGI IN HOMEPAGE -->
<!-- <jdoc:include type="message" /> -->
<!-- IN CASO DI PROBLEMI ELIMINARE LE TRE RIGHE SUPERIORI -->
<div id="main-wraper" class="wrap clearfix">
<div class="mainwrap" style="width:<?php echo $mainwrapwidth; ?>%; padding-right:<?php echo $mainwrappadding; ?>px;">
<?php if ( $breadcrum ) { ?>
<div class="breadcrum">
<jdoc:include type="modules" name="breadcrumb" />
</div>
<?php } ?>
<jdoc:include type="component" />
</div>
<?php if ( $left || $right || $ry_ad300x250 || $user3 ) { ?>
<div class="sidebar clearfix" style="width:<?php echo $sidebarwidth; ?>%">
<?php if( $ry_ad300x250 ) { ?>
<div class="ad300x250">
<?php echo $ry_ad300x250; ?>
</div>
<?php } ?>
<?php if ( $user3 ) : ?>
<div class="mas-right">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
<?php if ( $left ) { ?>
<div class="left clearfix" style="width:<?php echo $sidebar_module; ?>%">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<?php } ?>
<?php if ( $right ) { ?>
<div class="right clearfix" style="width:<?php echo $sidebar_module; ?>%">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
<?php } ?>
</div>
<?php } ?>
</div>
<?php if ( $user4 || $user5 || $user6 ) : ?>
<div id="bots" class="wrap clearfix">
<?php if ( $user4 ) : ?>
<div class="colom user-<?php echo $class_user4; ?>" style="margin-left:10px; width:<?php echo $userbot_width ; ?>%" >
<jdoc:include type="modules" name="user4" style="ryxhtml" />
</div>
<?php endif; ?>
<?php if ( $user5 ) : ?>
<div class="colom user-<?php echo $class_user5; ?>" style="width:<?php echo $userbot_width ; ?>%" >
<jdoc:include type="modules" name="user5" style="ryxhtml" />
</div>
<?php endif; ?>
<?php if ( $user6 ) : ?>
<div class="colom user-<?php echo $class_user6; ?>" style="width:<?php echo $userbot_width ; ?>%" >
<jdoc:include type="modules" name="user6" style="ryxhtml" />
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<!-- BEGIN FOOTER -->
<div id="footer">
<div class="foot-mod">
<jdoc:include type="modules" name="footer" />
</div>
<div class="copyright">
© 2010 <a href="http://www.16maggio82.it/index.php?option=com_content&view=article&id=14&Itemid=21" >Ing. Gianni Maria Papetti</a>.
Valid <a href="http://validator.w3.org/check?uri=referer" title="Valid XHTML" target="_blank">XHTML</a> &
<a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" target="_blank">CSS</a>.
</div>
</div>
</div>
<?php if( $ry_googleanal ){ echo $ry_googleanal; } ?>
</body>