
Zitat von
Claudia E.
Ich kann dir nur noch empfehlen, deine index.php hier zu veröffentlichen.
Vielleicht hast du Glück und einer derjenigen, die sich damit auskennen, sieht sich das an.

Hier der Inhalt der index.php. Das einzigst was ich dort geändert habe, ist das rot markierte.
Code:
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
// banner combos
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}
//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right = 1;
}
?>
<meta **********="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/mitra_dark/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="9" style="background-image: url('<?php echo $mosConfig_live_site;?>/templates/mitra_dark/images/left.png'); background-repeat: repeat-y; background-position: right top"> </td>
<td width="885">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="border-bottom: 1px solid #32373D; background-color:#434952" colspan="3"> </td>
</tr>
<tr>
<td colspan="3">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/mitra_dark/images/logo.jpg" style="border-bottom: 1px solid #32373D; border-top: 1px solid #545C66"></td>
</tr>
<tr>
<td style="border-top: 1px solid #545C66; background-color:#434952; border-bottom: 1px solid #32373D" colspan="3"> </td>
</tr>
<tr>
<td style="background-image: url('<?php echo $mosConfig_live_site;?>/templates/mitra_dark/images/bac_user.png'); border-bottom: 1px solid #32373D; border-top: 1px solid #545C66" colspan="3" valign="top">
<table border="0" cellpadding="3" width="100%" cellspacing="3">
<tr>
<td><?php mosLoadModules ( 'top', -1); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="height: 550px; border-bottom: 1px solid #32373D; border-top: 1px solid #545C66; border-right: 1px solid #32373D; border-left: 1px solid #545C66; background-color:#434952" valign="top" width="180">
<?php mosLoadModules ( 'left', -2); ?></td>
<td style="height: 550px; border-bottom: 1px solid #32373D; border-top: 1px solid #545C66; border-right: 1px solid #32373D; border-left: 1px solid #545C66; background-color:#434952" valign="top">
<table border="0" cellpadding="2" width="100%">
<tr>
<td><?php mosPathway(); ?></td>
</tr>
<tr>
<td><?php mosMainBody(); ?></td>
</tr>
</table>
</td>
<?php
if ( $right > 0 ) {
?>
<td style="height: 550px; border-bottom: 1px solid #32373D; border-top: 1px solid #545C66; border-right: 1px solid #32373D; border-left: 1px solid #545C66; background-color:#434952" valign="top" width="180">
<?php mosLoadModules ( 'right', -2); ?></td>
<?php
}
?>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 50px; background-image: url('<?php echo $mosConfig_live_site;?>/templates/mitra_dark/images/bac_user.png'); border-bottom: 1px solid #32373D; border-top: 1px solid #545C66; text-align:center" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="text-align: center">Design:
<a target="_blank" href="http://www.joomlamarket.de">
Joomlamarket.de</a></td>
</tr>
<tr>
<td style="text-align: center"> <?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<?php mosLoadModules( 'debug', -1 );?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="6" style="background-image: url('<?php echo $mosConfig_live_site;?>/templates/mitra_dark/images/right.png'); background-repeat: repeat-y; background-position: left top"> </td>
</tr>
</table>
</div>
<div id="lastnews"><?php mosLoadModules('user1'); ?></div>
<div id="lastposts"><?php mosLoadModules('user2'); ?></div>
</body>
</html>
Und habe die beiden Module dann in der Css positioniert:
Code:
#lastnews {
position: absolute;
top: 290px;
left: 380px;
height: 215px;
width: 200px;
}
#lastposts {
position: absolute;
top: 290px;
left: 650px;
height: 215px;
width: 200px;
}
Ich hoffe, das das soweit richtig ist. Wie gesagt, das ist für mich noch "Neuland".
@pesto
Hab mir das Mambot und Video angeschaut. Problem ist nur das ich mir nicht sicher bin, wo ich da die Tabelle genau einfügen soll.
Lesezeichen