Hi Leute
Ich habe mich nun schon durchs ganz Forum gekämpft und komme einfach nicht auf den grünen Zweig.
Ich möchte gerne das Modul"YooCarousel" im Menü "Product" anstatt des normalen Artikeltextes einfügen.
Dafür möcte ich die Position user5 definieren.
Ich habs schon mit "Loadposition" versucht, doch es kommt dann wie folgt: http://www.ladypocket.com/index.php?...d=38&Itemid=60
Ich schaffs einfach nicht das Modul richtig zu positionieren.
Hier mal noch meine index.php, das template.css und templateDetails .xml
Code:
<body>
<div id="top">
<div id="top_wrap">
<div id="title">
<h1 id="logo"><img src="<?php echo $template_path;?>/images/logo.png" alt="your Logo" title="your Logo" border="0" /></h1>
<?php if($h1=='image') { ?>
<?php if($linked_h1) { ?>
<?php } else { ?>
<?php } ?>
<?php } else if ($h1=='text') { ?>
<?php if($linked_h1) { ?>
<a href="index.php">
<h1><?php echo $h1_title; ?></h1>
</a>
<?php } else { ?>
<h1><?php echo $h1_title; ?></h1>
<?php }?>
<h2><?php echo $h2_motto; ?></h2>
<?php } ?>
</div>
<?php if ($this->countModules( 'user3' )) : ?>
<div id="menu"><div id="uls"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
<?php endif; ?>
</div>
</div>
</div>
<div id="body_top">
<div id="body_bot">
<div id="content">
<div id="main">
<div id="left_col">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<?php if($this->countModules('left and right')) : ?>
<div id="main_content">
<?php if ($this->countModules( 'banner' )) : ?>
<div id="banner"><jdoc:include type="modules" name="banner" style="raw" /></div>
<?php endif; ?>
<div id="main_body">
<jdoc:include type="component" />
</div>
</div>
<div id="right_col">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
<?php else : ?>
<div id="main_content2">
<?php if ($this->countModules( 'banner' )) : ?>
<div id="banner"><jdoc:include type="modules" name="banner" style="raw" /></div>
<?php endif; ?>
<div id="main_body2">
<jdoc:include type="modules" name="user5" style="xhtml" />
<jdoc:include type="component" />
</div>
</div>
<?php endif; ?>
<div class="both"><!-- --></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<p>Copyright © <a href="http://www.ladypocket.com/index.php">Ladypocket</a> 2006-2008 All rights reserved <br />
</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>
Code:
#mod_user5, #mod_user6, #mod_user7 {
width: 410px;
color: #6c6c6c;
height: 100px;
}
#mod_user5 a, #mod_user6 a, #mod_user7 a {
color: #b00000;
font-weight: bold;
text-decoration: none;
}
#mod_user5 a:hover, #mod_user6 a:hover, #mod_user7 a:hover {
color: #330000;
}
Code:
<positions>
<position>left</position>
<position>right</position>
<position>top</position>
<position>user3</position>
<position>user5</position>
<position>user6</position>
<position>user7</position>
<position>debug</position>
<position>banner</position>
<position>user8</position>
</positions>
Wär superdankbar für eine Lösung
Danke
Lesezeichen