For nonexperts

Posts: 13
Joined: 03/14/2008

This really helps!

For those like me who were wondering what to do with this. This code goes to your template.php

Rename:

function xikar_uc_catalog_browse($tid = 0){

to:
function mythemename_uc_catalog_browse($tid = 0){

To not get an error, if you dont use taxonomy_enhancer module, comment these lines

$output .= '<div id="uc_catalog_subcategory_container">';
$output .= '<div class="uc_catalog_subcategory_link">'; // category image
$output .= l(theme('imagecache', 'product_list', $category->image['filepath'], $category->name, $category->name, array('class' => 'uc_catalog_subcategory_img')), taxonomy_term_path($category), array(), NULL, NULL, FALSE, TRUE) . '<br />' . '</div>';
$output .= '<div class="uc_catalog_subcategory_text">'; // category text and links
$output .= l($category->name, taxonomy_term_path($category)) . '<br />' . db_result(db_query('SELECT value FROM taxonomy_enhancer_data WHERE tid = %d', $category->tid)) . '<div class="uc_catalog_subcategory_see_more">' . l('See All Models', taxonomy_term_path($category), array(), NULL, NULL, FALSE, TRUE) . '</div></div>';
$output .= '<div class="clear"></div>';
$output .= '</div>';

Tableless catalog By: mikejoconnor (20 replies) Wed, 10/03/2007 - 08:04