Hello,
Almost done with bridging Coppermine (water drop theme) http://dualcab.net/gallery and phpbb3 (x-vision theme) http://dualcab.net I moved my Breadcrumbs by placing a hack code in my theme.php file according to the instructions in the other thread. Then I put a class in ..."Section <<<$template_breadcrumb>>> - START"... to match my phpbb3 theme layout.
But the Breadcrumbs text is underlined by a thick black line. It looks like this line is inherited from css "maintable" class because once I remove .maintable class from style.css – the line is gone but also all other borders are gone as well. How can I fix it, so Breadcrumbs are not connected to 'maintable' class? Please find attached the screenshot of both: with and without the .maintable class
My zip theme
You need to change
<div class="breadcrumbs_style_font">{BREADCRUMB}</div>
to something like
<tr><td><div class="breadcrumbs_style_font">{BREADCRUMB}</div></td></tr>
Otherwise the breadcrumb resides outside of the table and all you'll see is the border of the table where the breadcrumb should be.
When I put back {BREADCRUMBS} between <tr> and <td>, it's getting full border around my breadcrumbs(please see the attached screenshot), what I'm not after. I wish, there was possibility to put Breadcrumbs outside the table and not having borders around it. I wanted to match my phpbb3 theme, in which the breadcrumbs are just as a text only, with no border - see the attached screenshot. I guess it's not possible.
Copy the following function to your theme.php file:
function theme_display_breadcrumb($breadcrumb, &$cat_data)
{
/**
* ** added breadcrumb as a seperate element
*/
global $template_breadcrumb, $lang_breadcrumb;
if ($breadcrumb) {
$template = template_extract_block($template_breadcrumb, 'breadcrumb');
$params = array(
'{BREADCRUMB}' => $breadcrumb,
);
echo template_eval($template, $params);
}
}
Thank you Andre! Looks like everything is possible for you :) Works perfect!