Breadcrumb Mode

cancel
Showing results for 
Search instead for 
Did you mean: 
JDeAz
Member II

Breadcrumb Mode

Jump to solution

Hi !

I have a problem with the breadcrumb-mode in Alfresco 5.2 and Alfresco 6.2.
When I search for a file with the advanced search and then click on the file founded, the breadcrumb path begins within the repository.

For example, my file is in the space "My files"  within the folder named "Test" :
  - When I search for my file from the explorer, the breadcrumb is the following : My files > Test
  - When I search for my file from the advanced search and then click on it, the breadcrumb is the following : Repository > User Spaces > MySpace > Test

The behaviour I want to have is the first one.

I have found a possible solution here (in the last parapgraph) : https://hub.alfresco.com/t5/alfresco-content-services-hub/web-client-customisation-faq/ba-p/289689#w...
But changing the breadcrumb-mode into location mode doesn't works.

Does someone have the solution, please ?
   

1 Solution

Accepted Solutions
abhinavmishra14
Moderator
Moderator

Re: Breadcrumb Mode

Jump to solution

You seem to be trying to update the config that no longer exists. The documentation is marked as obslete.

"Explorer was an app (used to be accessed at /alfresco context) is no longer available version ACS 5.x (5.1, 5.2 etc.) onwards as far as i can recall."

I am assuming you mean Share "DocumentLibrary", "SharedFiles" etc. when you say explorer and not the obselete app.

When in comes to Share, the behavior you are seeing is default from what i could recall and there is no config to handle just the breadcrumb stuff. The path is contextual i.e. site, shared, etc. and link open the item based on the context. Just observe the URLs when you open the items.

In Share, you can however extend and customize the "/alfresco/site-webscripts/org/alfresco/components/node-details/node-header" webscript and alter the paths in order to show only required path. Note that, you would still need to consider the context and make sure nothing breaks.

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...

 

 

 

 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)

View solution in original post

4 Replies
abhinavmishra14
Moderator
Moderator

Re: Breadcrumb Mode

Jump to solution

You seem to be trying to update the config that no longer exists. The documentation is marked as obslete.

"Explorer was an app (used to be accessed at /alfresco context) is no longer available version ACS 5.x (5.1, 5.2 etc.) onwards as far as i can recall."

I am assuming you mean Share "DocumentLibrary", "SharedFiles" etc. when you say explorer and not the obselete app.

When in comes to Share, the behavior you are seeing is default from what i could recall and there is no config to handle just the breadcrumb stuff. The path is contextual i.e. site, shared, etc. and link open the item based on the context. Just observe the URLs when you open the items.

In Share, you can however extend and customize the "/alfresco/site-webscripts/org/alfresco/components/node-details/node-header" webscript and alter the paths in order to show only required path. Note that, you would still need to consider the context and make sure nothing breaks.

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...

 

 

 

 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)

View solution in original post

JDeAz
Member II

Re: Breadcrumb Mode

Jump to solution

Thank you for your help, I will try your solution.

JDeAz
Member II

Re: Breadcrumb Mode

Jump to solution

Hi, 

Your solution worked, thanks a lot

abhinavmishra14
Moderator
Moderator

Re: Breadcrumb Mode

Jump to solution

Glad to hear @JDeAz , good luck.

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)