Breadcrumb plugin integration

I am trying to integrate breadcrumbs. Here the configuration of our project is different from the one we currently have. The whole section listed under “HST Configurations” is differently implemented for us. Any other way of integrating it?

What do you mean by “different”?

There are no folders - “templates”/ “Components” inside our bootstrap>configuration? I am using Hippo 10.2.11.

just put it in whatever folder your templates and components are.
You are using unsupported CMS version BTW, but I guess you know that.

I am using Hippo 10.2 here.

I was pointing to:
https://www.onehippo.org/about/release-notes/release-notes-overview.html

but 10.2.11 is still supported (in case you have premium support)

for documentation part, your best bet is to clone the project and generate documentation for your specific version locally,
see:

Thanks. Will do that.

BTW, I just noticed there is no maintenance branch for 10.x version
so you will need to do following:

git clone git@github.com:onehippo-forge/breadcrumb.git
git checkout 27ff71ef26457590330d49fcc97604ae005289a2 
mvn site:site

Then open target/site/configuration.html HTML file.

Thanks Machak. I will try this as well.
On my local project the following error message is displayed -

[INFO] [talledLocalContainer] #component==GML# #sourcetype==log4j# [31 Jul 2018 13:38:55,624] [ WARN] [org.hippoecm.hst.core.container.HstComponentInvokerImpl]: [Component exception caught on window breadcrumb with component org.onehippo.forge.breadcrumb.components.BreadcrumbComponent: java.lang.NullPointerException at org.onehippo.forge.breadcrumb.components.BreadcrumbProvider.getBreadcrumb(BreadcrumbProvider.java:95)]

Himanshu_Joshi https://community.bloomreach.com/u/himanshu_joshi
July 31

Thanks Machak. I will try this as well.
On my local project the following error message is displayed -

[INFO] [talledLocalContainer] #component==GML# #sourcetype==log4j# [31 Jul
2018 13:38:55,624] [ WARN] [org.hippoecm.hst.core.container.HstComponentInvokerImpl]:
[Component exception caught on window breadcrumb with component
org.onehippo.forge.breadcrumb.components.BreadcrumbComponent:
java.lang.NullPointerException at org.onehippo.forge.breadcrumb.
components.BreadcrumbProvider.getBreadcrumb(BreadcrumbProvider.java:95)]

you haven’t configured any *breadcrumb-menus *

cheers
/m

There was nothing mentioned in the config/ installation page. Could you help me with an example?

Himanshu_Joshi https://community.bloomreach.com/u/himanshu_joshi
July 31

There was nothing mentioned in the config/ installation page. Could you
help me with an example?

have you generated and read documentation as I described in few comments
above?
If you did you should have config page showing this:

Component Parameters

Name Description
breadcrumb-separator A separator for the links that are displayed.
breadcrumb-menus The first part of the breadcrumb is generated from the
expanded sitemenu items of the menu named ‘main’ or from multiple menu’s as
configured by this parameter. The last (“trailing”) part of the breadcrumb
is generated from the resolved sitemap item belonging to the current
request. The trailing items are based on the current resolved sitemap item
and then moving upwards, until the deepest menu item is encountered.

/m

I realized that something like is not required after all. Got breadcrumbs with only few lines of code.
Thanks for your help.

Hi all, I am using version 4.12 with version 14.5 of bloomreach.
I have installed it and configured it all based on these instructions:
https://bloomreach-forge.github.io/breadcrumb/install.html
https://bloomreach-forge.github.io/breadcrumb/configuration.html

rebuilt using mvn clean verify
then run the site locally with cargo, however
When I reference the FTL I get thise error?

WARN http-nio-8080-exec-3 [DefaultPageErrorHandler.logWarningsForEachComponentExceptions:51] Component exception on org.bloomreach.forge.breadcrumb.components.BreadcrumbComponent : org.hippoecm.hst.core.component.HstComponentException: The component is not available.

Not sure where to look to resolve this, is there another dependancy that is required??

Any help would be appreciated

Thanks
John

Anyone got breadcrumbs working using this component on Bloomreach or is there another way to achieve it?

Thanks
John

Hi,

It’s probably better to start a new topic rather than asking your question in an old topic.

The error you posted only tells me that the component was null. Are there any previous errors, possibly on startup? Obviously something is missing, but I can’t tell enough by the error you posted to know what is going on.