I have a strange issue (similar to http://drupal.org/node/1314696) which i don't really know if its a bug or i did something wrong here.
What happens:
i set up a custom node view through page manager with the following settings in breadcrumbs:
%taxonomy_term:parent
%taxonomy_term:name
%node:field_xxx

and the corresponding paths

%taxonomy_term:parent:url
%taxonomy_term:url

and the resulting trail is correct when actually there IS a parent term associated with the node. But if i have a node associated with only a root term, the result is something like:
Home » » %taxonomy_term:name » %node:field_xxx
The empty part is actually, well, empty, the html result is:

I suppose i have the right context and relations set up in the page variant, but i don't really know what's happening here.
The strangest of things is that exactly the same settings and modules in local works like a charm. This only happens with the remote site.
Already tried to disable other similar modules which i use (custom breadcrumbs and taxonomy breadcrumbs) with no change.

Comments

devuo’s picture

Status: Active » Fixed

Hello zikaelismik, I believe I fixed this with the current release 7.x-1.2 :) Please check it out and report back.

devuo’s picture

Status: Fixed » Closed (fixed)
zikaelismik’s picture

Thanks so much devuo,
It is working now with 7.x.1.2!

devuo’s picture

:)

devuo’s picture

Any other issue, bugs or ideas that fit within the scope of this module just post them!

mazdakaps’s picture

hello i am using the same settings as the first post
%taxonomy_term:parent
%taxonomy_term:name
%node:field_xxx

-parent term
--child term

when i i select from hierahical select to save lineage from the deepest term it work correct but when i set it to Save term lineage
%taxonomy_term:name which suppose to show the child term shows the parent term and there isnt any child terms and the %taxonomy_term:parent doesnt show anything.
Is this a bug or i am doing something wrong?
Thank you

devuo’s picture

Try adding a new "Custom" content-pane and enable replacement patterns to it. See if those patterns print something. You can also try to load the parent term through the "relationships" fieldset in the "Contexts" tab. Report the results

marikomay’s picture

Version: 7.x-1.1 » 7.x-2.0
Priority: Major » Normal
Status: Closed (fixed) » Active

This issue appears to have resurfaced with 7.x-2.0. I am using panels term template and have Breadcrumbs set as followed:

Breadcrumb titles

%parent_term:name
%term:name

Breadcrumb paths:

%parent_term:url

It works as expected as long as a parent exists. If no parent exists, however, I end up with:

Home » » %term:name

helior’s picture

So if the parent term doesn't exist, then what exactly to do you expect it to print out in the breadcrumb?

barwonhack’s picture

In response to comment #9, ideally it would not render an empty parent term.

Category Root > first child > second child > third child
- this would ideally work alongside
Category Root > first child
- and
Category Root > first child > second child

Anyway that's my 2 cents worth!

Another option (hack) would be to move the divider to the term itself, but I can't find where to set No Divider.

antoinetooley’s picture

im getting empty breadcrumb when I use %term:name and %parent_term:name I also get this error when I am on the parent term page:
"Warning: array_shift() expects parameter 1 to be array, null given in adaptivetheme_breadcrumb() (line 87 of /home/antoinet/public_html/biotheory.co.uk/sites/all/themes/adaptivetheme/adaptivetheme/at_core/inc/theme.inc)."

Any help would be greatly appreciated as this is a really awesome module!!
Thanks

finex’s picture

Same problem after upgrading to 7.x-2.0

devuo’s picture

Sorry, I've been rather busy. I will be looking at this very soon.

IreneV’s picture

Issue summary: View changes

Instead of %parent_term:name should be %term:parent

IreneV’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.