ich habe die mitgelieferte BottomNavigation eingesetzt, sie funktioniert auch. Nur im Quelltext zeigt sich dann folgender Fehler:
Sitemap </a> <a href="front_content.php?idcat=12" class="bottomnavi" title="Stichwortindex"> Stichwortindex </ </td></tr>
Aber im Quelltext des Moduls ist der Endtag </a> vorhanden. Was hab ich da übersehen?
Vielen Dank im voraus. Hier nochmal der Quelltext (Output) des Moduls:
Code: Alles auswählen
<?php
/***********************************************
* Bottom Navigation Output
*
* Author : Willi Man
* Copyright : four for business AG
* Version : 1.0
* Created : 17-03-2005
* Modified : 05-08-2005, Andreas Lindner
************************************************/
#System properties in use:
#Type: navigation, Name: idcat_bottomnavi
#Contains idcat of tree to be displayed in bottom navigation
#Includes
cInclude("frontend", "includes/functions.navigation.php");
cInclude('classes', 'class.template.php');
#Get settings
$cApiClient = new cApiClient($client);
$catStart = $cApiClient->getProperty('navigation', 'idcat_bottomnavi');
if (!is_object($oClient)) {
$oClient = new cApiClient($client);
}
#Get sub categories
$navigation = array ();
$navigation = createNavigationArray($catStart, $db);
#Output sub categories
$output = '';
if (count($navigation) > 0) {
foreach ($navigation as $key => $data) {
$output .= ' <a href="'.$sess->url("front_content.php?idcat=".$data['idcat']).'" class="bottomnavi" title="'.$data['name'].'"> '.$data['name'].' </a> ';
}
}
if (strlen($output) > 0) {
$output = substr($output, 0, strlen($output) - 3);
}
echo $output;
?>