Solved

Remove category in breadcrumb

Posted on 2012-04-06
1
3,408 Views
Last Modified: 2012-08-14
I turned on the breadcrumbs in my joomla site, but now there is actually one breacrumb too many.

Home -> company-IT -> IT ->  Hardware en Infrastructuur

That 'IT' one is just the name of the category the 'Hardware en...' belongs to.
If I click on 'IT' I get a page which all the articles using that category.
But I don't want that , how can I disable this 'category' entering my breadcrumbs ?
0
Comment
Question by:troosters
1 Comment
 

Accepted Solution

by:
troosters earned 0 total points
ID: 37816395
Commented the text
$category =
JCategories::getInstance('Content')->get($this->item->catid);
                  while ($category && ($menu->query['option'] != 'com_content' ||
$menu->query['view'] == 'article' || $id != $category->id) &&
$category->id > 1)
                  {
                        $path[] = array('title' => $category->title, 'link' =>
ContentHelperRoute::getCategoryRoute($category->id));
                        $category = $category->getParent();
                  }

in the file components\com_content\views\article\view.html.php  and it was gone.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now