Solved

Remove category in breadcrumb

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
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 …

730 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