Hi there.

Trying to get a parent taxonomy term to appear as a breadcrumb. Installed this module and after several hours trying to figure out the rather confusing array of settings I still cannot get it to work.

Have also been getting this message the whole time:

Warning: asort() expects parameter 1 to be array, null given in crumbs_MultiPlugin_EntityFindSomething->initWeights() (line 43 of C:\localsites\localsite\sites\all\modules\crumbs\lib\MultiPlugin\EntityFindSomething.php).
Warning: asort() expects parameter 1 to be array, null given in crumbs_MultiPlugin_EntityFindSomething->initWeights() (line 43 of C:\localsites\localsite\sites\all\modules\crumbs\lib\MultiPlugin\EntityFindSomething.php).

I followed all of the steps here without success: https://drupal.org/node/1984484

Is there some obvious step that is not spelled out there that I am missing?

A note to other novice users - this is not an intuitive module to work with.

CommentFileSizeAuthor
#7 debug_1.jpg365.35 KBhazit
#7 Enabled.jpg411.84 KBhazit
#7 Theme_override_settings.jpg396.58 KBhazit

Comments

donquixote’s picture

I'm looking into it.

donquixote’s picture

Hi,
since the fix here is quite obvious, and it is the only change since 7.x-2.0-beta4, I am creating a new release with the fix included.
Commit: http://drupalcode.org/project/crumbs.git/commitdiff/ce74729406cb658697ac...

Release: 7.x-2.0-beta5

donquixote’s picture

As for your taxonomy problem: Does clearing the cache help?
(it just did for me)

If not, feel free to post here again!
This has two benefits: (1) You spend less time worrying, and (2) I have a chance to improve the module.

A note to other novice users - this is not an intuitive module to work with.

I am very interested in this kind of feedback.
Let's talk about this when the taxonomy issue is fixed.

donquixote’s picture

Troubleshooting:

In the plugin weights config table:
- What is the order of your plugins?
- Which taxonomy.termReference.* -like plugin keys do you see?
- Which taxonomy.termParent.* -like plugin keys do you see?

In admin/structure/crumbs/debug:
Type the path of your taxonomy term page.
Which plugins are participating in finding the parent?

donquixote’s picture

@hazit: what's the status?

donquixote’s picture

Status: Active » Fixed

The taxonomy bug should be fixed in 7.x-2.0-beta6.
http://drupalcode.org/project/crumbs.git/commitdiff/877245de744645a78453...

Please reopen if you see further problems!

hazit’s picture

Version: 7.x-2.0-beta4 » 7.x-2.0-beta6
StatusFileSize
new396.58 KB
new411.84 KB
new365.35 KB

Hi DQ - apologies for being slow to respond - my day job was calling ;-)

Thanks so much for being so responsive to your users - even novice users like me.

Thought I would work through the steps so you can see what's up:
- Clear cache (ie "flush all caches" option from admin menu): did not help
- Scan all plugins to ensure all possible relevant ones enabled - see enabled.jpg
- Check debug: seems to be working ok - see debug_1.jpg
- Update module to 7.x-2.0-beta6 worked ok. On update, the following notice appeared again:

Warning: asort() expects parameter 1 to be array, null given in crumbs_MultiPlugin_EntityFindSomething->initWeights() (line 43 of \sites\all\modules\crumbs\lib\MultiPlugin\EntityFindSomething.php).

- Clear cache (ie "flush all caches" option from admin menu): did not help, but does prompt the warning to appear again.

Getting to this stage makes me think that the 'problem' is not actually with the crumbs module, but with my understanding of how to make them appear. I am using Open Atrium, which has added unwelcome layers of complexity to all of this.

- Check theme override settings (see Theme_override_settings.jpg) - these were unchecked, so rechecked and flush all caches. Still no crumbs.

- Checked painalizer settings, went to Breadcrumbs tab and included "%taxonomy_term:parents-all" into Breadcrumb titles and Breadcrum paths for good measure. Still no breadcrumbs.

At this point I recognize there are still things I do not fully get about the whole panes situation. In previous drupal instals things were much more simple. There are still no breadcrumbs, but rather than try and circumvent the complicated and annoying panels settings with this Crumbs module I should perhaps tackle the problem directly by investing some more hours skilling up on the Panelizer situation.

Sorry to turn this into a novice user diary entry - but I expect there may be other users out there trying to get their head around how these things come together also.

I should also say that compared to Panelizer the Crumbs settings are a dream! :-)

Will see you back here if/when I have any progress.

donquixote’s picture

It is interesting how this stuff looks in other themes!

donquixote’s picture

Sorry to turn this into a novice user diary entry - but I expect there may be other users out there trying to get their head around how these things come together also.

Yep.
I am quite ambitious about this module, so I want to know this stuff!

donquixote’s picture

Sorry, my mistake.
The fix in #2 did not actually make it into any release.
7.x-2.0-beta7 should fix it.
Damn.

P.S.: This is why I am happy that someone is making noise!

donquixote’s picture

Still no breadcrumbs.

Could this be related to your theme?
Is it that in one theme you do have breadcrumbs, and in another theme you don't?

And if you disable Crumbs, do you see breadcrumbs then?

It could very well be a combination of different modules and themes that ruin your day. But if this is so, it would be useful to figure out what exactly is going on, so we can at least document it.

EDIT: Or could it be that a breadcrumb appears on some pages, but not on other pages?

hazit’s picture

Version: 7.x-2.0-beta6 » 7.x-2.0-beta7

Hi there

Here are some further steps:
- Checked pages for different taxonomy vocabularies and content types - no sign of crumbs
- Tested disabling Crumbs module - no effect (no crumbs)
- Re-enabled and updated to Crumbs 7.x-2.0-beta7, updated database, etc. (update ran ok)
- Run cron, flush all caches, etc

Did not see previous error message

Still no crumbs

As you suggest, I think it must be something to do with more than one module or theme not playing well.

The only theme I have enabled is Open Atrium Radix 7.x-2.0-beta1. I cannot see options for enabling / disabling crumbs anywhere in the theme settings.

So,... no breadcrumbs for me today...

donquixote’s picture

Tested disabling Crumbs module - no effect (no crumbs)

Ok, this is the essential part.

You have a few options what to do from here.
1. Enable a different theme, e.g. "Bartik" (shipped with Drupal core). Or enable "Seven" and make it your admin theme.
2. Try if there is a breadcrumb on other pages, e.g. in the admin area
3. Have a look at your theme's page.tpl.php or other templates, and see if there is anything about breadcrumbs. (and compare with other themes)
4. Use the breadcrumb *block* shipped with Crumbs (admin/structure/block, look for sth like "crumb"). Move this block into the content area or where you like to have it.
5. Investigate (google) about OpenAtrium + breadcrumbs
6. Investigate if there is something going on with panels that is relevant to the breadcrumb.

Status: Fixed » Closed (fixed)

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