I added a header image that is supposed to display only on a specific taxonomy term, but this does not work. I get the following notice in the log when accessing a node:

Notice: Undefined property: stdClass::$taxonomy in headerimage_eval_taxonomy() 

on line 365 of headerimage.module

I get this error on every node, and the header image is not changed according to the taxonomy of the current node.

CommentFileSizeAuthor
#2 headerimage-taxonomy-1909920-2.patch663 bytessense-design

Comments

sense-design’s picture

Will have a look on this tonight and give you feedback.

sense-design’s picture

StatusFileSize
new663 bytes

I have now fixed the notices and removed the old D6 code which was still within the module.
Please apply the patch against current DEV and give me feedback.

sense-design’s picture

Assigned: Unassigned » sense-design
Status: Active » Needs review
sense-design’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

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