
Bin derzeit dran ein Altersheim mit Contenido zu beglücken.
Leider, warum auch immer, erscheint in der Navigation (TOP / Side) immer ein #END#. So recht weiß ich leider nicht wo dies her kommt

http://2dot0-consulting.de/kunden/apz/c ... hp?idcat=5
So siehts aus.
Hauptmenu Modul:
Code: Alles auswählen
<?php
$url="";
cInclude('frontend', 'includes/atelierq.navigation.class.inc.php');
$cApiClient = new cApiClient($client);
$aQnavigation = new aQnavigation($cApiClient->getProperty('navigation', 'idcat_mainnavigation'));
$aQnavigation->between(0, '');
$aQnavigation->maskNormal(0, '<li><a target="_self" href="{link}"> {name1}</a></li>');
$aQnavigation->maskNormalSub(0, '<li><a target="_self" href="{link}">{name1}</a></li>');
$aQnavigation->maskSelected(0, '<li class="maintopic_active"><a target="_self" href="{link}" >{name1}</a></li>');
$aQnavigation->maskSelectedSub(0, '<li><a target="_self" href="{link}">{name1}</a></li>');
/*
* hier erfolgt die ausgabe an den browser
*/
echo '<ul class="maintopic">';
echo $aQnavigation->showNavigation(0);
$url = "http://".$_SERVER['PHP_SELF'].$_SERVER['REQUEST_URI'];
echo '</ul>';
?>
Hrm entsprechendes CSS:
[code]#sidebar {
width: 200px;
float: left;
margin-right: 50px;
margin-top: -55px;
margin-bottom: 40px;
}
Code: Alles auswählen
#sidebar ul li {
margin-left:-40px;
list-style-type: none;
padding-top: 10px;
padding-bottom: 10px;
background-image: url(images/bg-topic_apz.gif);
padding-left: 10px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #CCCCCC;
background-position: bottom;
width:190px;
}
#sidebar ul li:hover {
list-style-type: none;
padding-top: 10px;
padding-bottom: 10px;
background-image: url(images/bg-topic-hover_apz.gif);
padding-left: 10px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #CCCCCC;
}
#sidebar ul li a {
font-family: Calibri;
font-size: 14px;
color: #333333;
text-decoration: none;
font-weight: normal;
width: 200px;
heigt:42px;
display:block;
}
#sidebar ul li a:hover {
padding-left: 5px;
}
#sidebar ul li a i {
font-style: normal;
font-weight: bold;
color: #00627a;
text-decoration: none;
margin-right: 5px;
font-size: 15px;
}
[/code]
Submenu Modul:
Code: Alles auswählen
<?php
$aQnavigation->between(2, '');
$aQnavigation->maskNormal(2, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a></li>');
$aQnavigation->maskSelected(2, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a></li>');
$aQnavigation->maskNormalSub(2, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a>{sub}</li>');
$aQnavigation->maskSelectedSub(2, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a>{sub}</li>');
$aQnavigation->between(1, '');
$aQnavigation->maskNormal(1, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a></li>');
$aQnavigation->maskNormalSub(1, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a></li>{sub}');
$aQnavigation->maskSelected(1, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a></li>');
$aQnavigation->maskSelectedSub(1, '<li><a target="_self" href="{link}"><i>››</i>{name1}</a></li>{sub}');
$aQnavigation->setSub(1, $aQnavigation->showNavigation(2));
echo '<ul class="sidebar">';
echo $aQnavigation->showNavigation(1);
echo '</ul>';
?>
Jemand eine zündende Idee?