Solved

Remove category in breadcrumb

Posted on 2012-04-06
1
3,387 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 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

13 Experts available now in Live!

Get 1:1 Help Now