Salve, non sono molto pratico di joomla ma ho provato comunque diverse volte a risolvere il probelma da solo senza dovervi chiedere un aiuto.
Dovrei inserire una posizione nel template che utilizzo, sopra gli articoli in home page. ( vedi allegato) chiamandola user1 che nel template non è ancora utilizzata ma esiste già nel css
ho provato a inserire il codice <jdoc:include type="module" name="user1" /> nel punto desiderato ma va a coprire gli articoli. Quindi molto probabilmente devo mettere mano anche al css. ( è non è cosa mia farlo da zero)
inserisco anche il codice della pagina index.php
-------------------------------------------------
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!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="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body id="page_bg">
<div id="wrapper">
<div id="header">
<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>
<div id="search"><jdoc:include type="modules" name="user4" /></div>
<div id="header_img"></div>
<div class="logo">
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?>[/url]</h1>
</td>
</tr>
</table>
</div>
<div class="cpathway">
<jdoc:include type="module" name="breadcrumbs" />
</div>
<div class="clr"></div>
</div>
<?php if($this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="content" class="c_middle">
<?php elseif($this->countModules('left') and !$this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="content" class="c_left">
<?php elseif(!$this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="content" class="c_right">
<?php else: ?>
<div id="content" class="c_full">
<?php endif; ?>
<div id="content_top">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php $sg = 'banner'; include "templates.php"; ?>
</div>
<?php endif; ?>
<?php if($this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn">
<?php elseif($this->countModules('left') and !$this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn_left">
<?php elseif(!$this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="maincolumn_right">
<?php else: ?>
<div id="maincolumn_full">
<?php endif; ?>
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>
</div>
<div class="clr"></div>
</div>
<div id="footer">
<jdoc:include type="modules" name="debug" />
<?php $sg = ''; include "templates.php"; ?>
valid xhtml valid css </div>
</div>
</body>
</html>
-------------------------------------------
[allegato vecchio più di un anno eliminato automaticamente]