
Originally Posted by
DarkAngel
... ok I shall look at the files for the sidebox...but it did show up in other areas too for a bit....ceon was installed for a month or so prior to the side box mod ...
I'd say the most likely cause is the module you are using for the sidebox is incorrectly adding an extra "&" in the params sent to zen_href_link (it should also pass the full cPath - not just the category id).
Try changing the following around line #24 in "separate_category_sidebox.php" from:
Code:
while (!$categories_ap->EOF) {
$id = $categories_ap->fields['categories_id'];
$name = $categories_ap->fields['categories_name'];
$add_content .= '<li><a href="' . zen_href_link(FILENAME_DEFAULT, '&cPath='.$id) . '">'.$name.'</a></li>' . "\n";
$categories_ap->MoveNext();
}
to:
Code:
while (!$categories_ap->EOF) {
$name = $categories_ap->fields['categories_name'];
$cPath_new = zen_get_path($categories_ap->fields['categories_id']);
$cPath_new = str_replace('=0_', '=', $cPath_new);
$add_content .= '<li><a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">'.$name.'</a></li>' . "\n";
$categories_ap->MoveNext();
}
Bookmarks