Displaying the Path-based Metatag link on views and panels as a tab didn't work for us and we prefer to use contextual links for admin option like that. This patch adds an option in the module administration page to turn move the Path-based Metatag link into contextual links rather than displaying it as a tab.

Members fund testing for the Drupal project. Drupal Association Learn more


artis’s picture

Patch Attached

artis’s picture

hmmm...just noticed that this patch adds "path-based metatags" link to the contextual links on all view including blocks. Need to look into this.

artis’s picture

Status: Patch (to be ported) » Needs review
valthebald’s picture

I don't see any advantage in that change, but I may be non-objective.
Anyone can comment please?

artis’s picture

After using this modification for a few days now I have to partially agree. While I am glad to be rid of the "path-based metatags" tab, moving it to the contextual links wasn't the right strategy. I'm going to reroll this patch with just the option to turn off the tab.

artis’s picture

Title: Option to move Path-based Metatag edit link from tab to contextual link » Option to remove Path-based Metatag edit link from local tasks tabs on views and panels
2.26 KB

Updated patch and issue title.

webadpro’s picture

Please commit this patch.

valthebald’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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