Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Remove category in breadcrumb

Posted on 2012-04-06
1
Medium Priority
?
3,634 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

604 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