I am using the "Local tasks: primary" block to list all the primary links on a page.
I am assuming that the top level local tabs are referred to as the primary links. if I am wrong, please correct me.

I am using the context module to place the block.
I have the ginkgo theme based on tao installed.
I checked the box for "Remove local tasks from the theme's tabs when this block is displayed?"
The primary local tabs are not removed.

Comments

socialnicheguru’s picture

Title: Primary menus are not removed » Local tasks replaced by primary menus are not removed
manarth’s picture

Status: Active » Postponed

Ginkgo is based on the Tao theme, which adds custom versions of the tabs and tabs2 variables to the page template.

These variables are added after the local tasks blocks' preprocess hooks run, so it's too late for the module to change the variables (without adding preprocess hooks via hook_theme_registry_alter).
That's something I'll look into for a later release - for now, these themes aren't supported.

lotyrin’s picture

Title: Local tasks replaced by primary menus are not removed » Use preprocess instead of variables to remove tabs
Version: 6.x-1.x-dev » 7.x-1.x-dev
Assigned: Unassigned » lotyrin
Category: bug » task
Status: Postponed » Active
jay.dansand’s picture

Assigned: lotyrin » jay.dansand
Status: Active » Postponed

7.x-1.x is no longer actively maintained or supported. I think this is solved in the 2.x branch (which uses a different hook_process_HOOK to cancel the default display); please try the 2.x branch and let me know if you are still experiencing a problem. Thanks!

jay.dansand’s picture

Status: Postponed » Closed (won't fix)