I had issues with link manager tired to add numbers next to category so others can see how many links are in that particular category.
if others can get this to work on there zencart then great
for this, you'll need to open includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php
and modify the following section of code (the sql statement $categories_query = ) to include getting the total number of links from TABLE_LINKS and TABLE_LINKS_TO_LINK_CATEGORIES
<?php
$categories_query = $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lcd.link_categories_name");
if ($categories_query->RecordCount() > 0) {
$rows = 0;
while (!$categories_query->EOF) {
$rows++;
$lPath_new = 'lPath=' . $categories_query->fields['link_categories_id'];
$width = (int)(100 / MAX_LINK_CATEGORIES_ROW) . '%';
$newrow = false;
if ((($rows / MAX_LINK_CATEGORIES_ROW) == floor($rows / MAX_LINK_CATEGORIES_ROW)) && ($rows != $number_of_categories))
{
$newrow = true;
}
?>
<div class="linkstext"><a href="<?php echo zen_href_link(FILENAME_LINKS, $lPath_new); ?>">
<?php if (zen_not_null($categories_query->fields['link_categories_image'])) {
echo zen_links_image(DIR_WS_IMAGES . $categories_query->fields['link_categories_image'], $categories_query->fields['link_categories_name'], LINK_CATEGORY_IMAGE_WIDTH, LINK_CATEGORY_IMAGE_HEIGHT) . '<br />';
} else {
echo zen_image(DIR_WS_IMAGES . 'pixel_trans.gif', $categories_query->fields['link_categories_name'], LINK_CATEGORY_IMAGE_WIDTH, LINK_CATEGORY_IMAGE_HEIGHT) . '<br />';
} ?>
<?php echo $categories_query->fields['link_categories_name']; ?></a></div>
<?php
if ($newrow) {
?>
<?php
}
$categories_query->MoveNext();
this was given to me by Clyde Designs
it is possible he will implement this in the next version.
I have changed things on my site sense then.
myothersite



