Sorry guys, I was having such a headache for the last couple of days trying to find a way of working with the info boxes and putting an image in between 2 seperate info boxes. That I didnt know what else I could do. Searched high and low for BTS Infobox and All I could find was "feature bashing" pages with way too much information for you to make sense of anything? or something that doesnt explain what I am looking for.
Standard Osc was easy, you just add an image code in between the boxes in column_left/right.php. Job done. Add image headers to info boxes. Just add a table at the top and bottom with an image job done. But here, am pulling my hair out trying to figure out how to do it.
So am having to add images to infobox headers the way you did it on osc as I still dont have a clue about the infoboxes on BTS. If someone can tell me taking out most of these codes from includes/boxes/categories.php will it have a bad effect on the store?
$boxHeading = BOX_HEADING_CATEGORIES;
$corner_left = 'rounded';
$corner_right = 'square';
$box_base_name = 'categories'; // for easy unique box template setup (added BTSv1.2)
$box_id = $box_base_name . 'Box'; // for CSS styling paulm (editted BTSv1.2)
function tep_show_category($counter) {
// BoF - Contribution Category Box Enhancement 1.1
global $tree, $boxContent, $cPath_array, $cat_name;
for ($i=0; $i<$tree[$counter]['level']; $i++) {
$boxContent .= " ";
}
$cPath_new = 'cPath=' . $tree[$counter]['path'];
$boxContent .= '<a href="';
$boxContent .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';
if (tep_has_category_subcategories($counter)) {
$boxContent .= tep_image(DIR_WS_IMAGES . 'pointer_blue.gif', '');
}
else {
$boxContent .= tep_image(DIR_WS_IMAGE





LinkBack URL
About LinkBacks









Bookmarks