Hi allerseits.
Habe da meine Probleme mit der Konvertierung eines Templates. Bin relativ neu in der Szene und würde mich freuen wenn mir ein Profi zur Hand geht.
Nachfolgend die Problemstellen des Templates.
------------------------------------------ Begin Part 1 ----------------------------------------------
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
if (mosCountModules('user1') + mosCountModules('user2') < 2) {
$greybox = 'large';
} else {
$greybox = 'small';
}
?>
------------------------------------------ Begin Part 2 ----------------------------------------------
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
------------------------------------------ Begin Part 4 ----------------------------------------------
<td class="left_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="17" /><br /></td>
------------------------------------------ Begin Kniffel 1------------------------------------------
<?php if (mosCountModules('top') > 0) { ?>
<div class="box_t"></div>
<div class="box_m"> <?php mosLoadModules('top', -1); ?> </div> <div class="box_b"></div> <?php } ?> <?php if (mosCountModules('left') > 0) { ?> <div id="left"> <?php mosLoadModules('left', -2); ?> </div>
<?php } ?>
------------------------------------noch ein Kniffel ------------------------------------------
<?php if (mosCountModules('user1') > 0) { ?> <td class="<?php echo $greybox; ?>box"> <?php mosLoadModules('user1', -2); ?> </td>
?php } ?>
<?php if (mosCountModules('user1') && mosCountModules('user2')) { ?> <td class="spacer"></td>
<?php } ?> <?php if (mosCountModules('user2') > 0) { ?> <td class="<?php echo $greybox; ?>box">
<?php mosLoadModules('user2', -2); ?> </td>
<?php } ?>
------------------------------------the last kniffel ------------------------------------------
<div id="pathway"><?php mosPathWay(); ?></div>
..
<?php mosMainBody(); ?>
...
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
..
<?php if (mosCountModules('right') > 0) { ?>
<td class="seperator"><img src="
<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="16" />
</td>
...
?php mosLoadModules('right', -2); ?> <?php } ?>
...
<td class="right_shadow"><img src="
<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="1" width="17" />
...
<td class="left_bot_shadow"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/spacer.png" alt="spacer.png, 0 kB" title="spacer" class="" height="41" width="17" />
...
<?php mosLoadModules( 'debug', -1 );?>
...
------------------------------------das wars ------------------------------------------
Danke im Voraus
cu
Edi


LinkBack URL
About LinkBacks
Zitieren


Lesezeichen