
Originally Posted by
iCarp
Thank you very much for your prompt reply.
I know that the define_links.php file has nothing to do with the category descriptions. What I don't understand is why that is showing up rather than the category description I've entered when I click on a links category. That is my problem and why I made my initial post.
open includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php
find the following section of code:
PHP Code:
<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>
and replace it with the following:
PHP Code:
<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><br /><?php echo $categories_query->fields['link_categories_description']; ?></div>
Bookmarks