Closed (fixed)
Project:
Fieldable Panels Panes (FPP)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2012 at 18:03 UTC
Updated:
8 Feb 2013 at 23:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrfelton commentedComment #2
dave reidI'm actually a little surprised that entity_translation doesn't automatically add contextual links for translate via hook_menu or hook_entity_view_alter() so that it's not the responsibility of the individual modules to add this contextual link. Could we file a feature request against entity_translation or figure out a way to pass entity contextual links into $block->admin_links?
Comment #3
dave reidAfter investigation, we can do better to support contextual links from within Fieldable panels panes. Entity translation actually does a good job and tries to add the 'Translate' as a contextual link, but we don't support showing it.
Please test the following patch.
Comment #4
dave reidRevised patch to prevent contextual links on the admin/structure/fieldable-panels-panes/view/[id] pages and revised documentation.
Comment #5
dave reidTested and committed #4 to 7.x-1.x.
http://drupalcode.org/project/fieldable_panels_panes.git/commit/9a8ca12
Comment #6
dave reidI appeared to have cross-posted with myself...