Breadcrumbs not showing full path

Phoca Download - download manager
jsg01
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 22 Aug 2017, 05:13

Breadcrumbs not showing full path

Post by jsg01 »

I have my site and PhocaDownloads set up so that the breadcrumbs should look like this:

Home > Downloads > Category A > Subcategory 1


Instead, what it looks like is:

Home > Downloads > Subcategory 1

How can I get the breadcrumbs to display the main category so the full path is shown?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Breadcrumbs not showing full path

Post by Jan »

Hi, for now there is no tree of subcategories and categories displayed in breadcrumbs, so this needs to be customized here:

components\com_phocadownload\views\category\view.html.php

line cca 334
If you find Phoca extensions useful, please support the project
jsg01
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 22 Aug 2017, 05:13

Re: Breadcrumbs not showing full path

Post by jsg01 »

Thank you! That worked to an extent, but is there a way to get it to display the entire pathway of categories/subcategories (for the subcategories that have subcategories)?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Breadcrumbs not showing full path

Post by Jan »

Hi, no, this needs to be customized - you need to load whole tree of the latest subcategory to root and build the tree then :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply