User talk:Cm~mediawikiwiki/CategoryBreadcrumb
Add topicHi,
It's not working for MW version 1.14.0. Its showing the breadcrumb but left pane navigation moves to the bottom of the page. I really need to use this. Can anyone help?
Adding title at the end of the breadcrumb?[edit]
How do I add title at the end of the breadcrumb?
I tried adding this:
$title = $wgArticle->getTitle();
and rewriting this
foreach ($cats as $category) { $combine = $homelink.' > '.$category; }
into this
foreach ($cats as $category) { $combine = $homelink.' > '.$category.' > '.$title; }
I get the title but for some reason it is located out of the <div> tag so the title appears below the breadcrumb instead of in the same line and in the same div tag.
- I see what happen, $category provides its own </div> closing tag. Now can someone help me to find out how to remove that tag from $category