Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
When trying to use the breadcrumb block of Blockify with Aurora, no breadcrumb was displayed. Apparently theme() is called incorrectly in aurora_preprocess_block(). It seems that such a bug should be quite visible and there should be an existing issue for it, but I didn't really find any other explanations than a bug for the problem... Attached is a patch for the block functionality.
Also it seems that using the breadcrumb block requires an undocumented, unselectable theme setting. Is there a reason for this?
Comment | File | Size | Author |
---|---|---|---|
#1 | 2074249-1-blockify-breadcrumbs.patch | 1.23 KB | rupl |
aurora_blockify_breadcrumbs.patch | 608 bytes | ZeiP |
Comments
Comment #1
ruplHere's another patch which contains the OP plus removes the undocumented theme setting.
I think it's safe to say that if a user has decided to place Breadcrumbs in a region, they are automatically electing to display breadcrumbs and do not need to toggle a setting in Aurora.
Comment #2
pascalduez CreditAttribution: pascalduez commentedWell, at least
settings[toggle_breadcrumbs] = '0'
should be present in the .info file, would be easier to debug :-)Patch in #1 looks great though.
Comment #3
rrrob CreditAttribution: rrrob commentedPatch in #1 works great.
Comment #4
iamcarrico CreditAttribution: iamcarrico commentedCommitted [688cead]
Comment #5
iamcarrico CreditAttribution: iamcarrico commentedCommitted [688cead]