Originally Posted by
frumious
Hey, what do you know. I can probably do this in the stylesheet maybe... ?
ah, the joy of styling... 1 page looks so similar, and yet.... the construction is so different....
i "think" you want to look here:
includes/modules/product_listing.php
there looks to be a couple of places to change. you need to add the class="list-more" to a couple of elements. try doing this:
PHP Code:
//find
$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
//change to:
$lc_button = '<a class="list-more" href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
//find
$products_link = '<a href="' .
zen_href_link(zen_get_info_page($listing->fields['products_id']),
'cPath=' .
(
($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?
zen_get_generated_category_path_rev($_GET['filter_id']) :
($_GET['cPath'] > 0 ?
zen_get_generated_category_path_rev($_GET['cPath']) :
zen_get_generated_category_path_rev($listing->fields['master_categories_id']))
) . '&products_id=' . $listing->fields['products_id']
) . '">' . MORE_INFO_TEXT . '</a>';
// change to:
$products_link = '<a class="list-more" href="' .
zen_href_link(zen_get_info_page($listing->fields['products_id']),
'cPath=' .
(
($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?
zen_get_generated_category_path_rev($_GET['filter_id']) :
($_GET['cPath'] > 0 ?
zen_get_generated_category_path_rev($_GET['cPath']) :
zen_get_generated_category_path_rev($listing->fields['master_categories_id']))
) . '&products_id=' . $listing->fields['products_id']
) . '">' . MORE_INFO_TEXT . '</a>';
you may need to tweak the css a bit to get the line-up correct.
some of the css changes @dbltoe mentioned should be addressed, as those look like errors. but i do not think they will create the buttons you desire. my changes might...
good luck!
Bookmarks