Solved

Remove category in breadcrumb

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …

724 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