New Zenner
- Join Date:
- Jun 2006
- Location:
- Huntington Beach, CA
- Posts:
- 51
- Plugin Contributions:
- 0
Category descriptions on Main Page
Hi everyone,
I am looking to add the category descriptions to teh right of the categories on the main page.
You can see my site here: http://www.inkjetoutput.com/new_store/
I already have the space for the description and I have twaeked with this file: /includes/modules/category_row.php but i can not get it to work. I have modified line 40 from:
'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');
To:
'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a><br />' . $categories->fields['categories_name'] . '<br>' . $categories->fields['categories_description'] . '<hr>');
Notice the last line where I tried to call for
$categories->fields['categories_description']
It is not grabbing the description though. What can I do to have this grab the description?
Thanks in advance!
Rob
Pier Marketing ◄ Printing and Marketing Collateral - Order Online!
Pier Technologies ◄ Web Development & IT Solutions
And That's News? ◄ My NEW Blog!!