If Administration Menu is active alongside Node Embed, its menu toolbar appears in Node Embed's popup window iframes.

CommentFileSizeAuthor
#1 suppress_admin_menu-1481526-1.patch945 bytesshaunjohnston

Comments

shaunjohnston’s picture

StatusFileSize
new945 bytes

Administration Menu module provides a function to suppress the rendering of its toolbar, so I have utilised this in a patch for Node Embed.

I initially tried to add this as a preprocess hook in the theme registry for the popups, however there seems to be a problem with cascading theme registry preprocess hooks from module to theme which (in my case) stopped my preprocess hooks working.

Instead I have added a views hook which suppresses Administration Menu's toolbar when the Node Embed view is rendered.

Better solutions more than welcome.

shaunjohnston’s picture

Status: Active » Needs review
sreynen’s picture

Thanks logicalor. Committed.

sreynen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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