BottomNavigation unter zweiter Sprache
Verfasst: Di 4. Mär 2008, 11:19
Hallo, ich habe das Problem, dass die BottomNavigation unter Contenido 6.4.15 in der zweiten Sprache (English(4)) nicht angezeigt wird, ohne dass die Zuordnungen und Einstellungen nicht korrekt wären.
Ich denke, es liegt am Code und bitte um eure Hilfe, da ich von PHP keine Anhnung habe.
Ich bitte um Mithilfe. Vielen Dank im Voraus.
Gruss,
iberion
Ich denke, es liegt am Code und bitte um eure Hilfe, da ich von PHP keine Anhnung habe.
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;
?>
Gruss,
iberion