Closed (fixed)
Project:
Agenda
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2014 at 04:51 UTC
Updated:
20 Dec 2014 at 04:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gooddesignusa commentedPatch changes the "configure", "debug", and "clear" menu items type to MENU_LOCAL_ACTION and adds 'context' => MENU_CONTEXT_INLINE to each item.
I also needed to add
'#contextual_links' => array('agenda'=>array('admin/config/services/agenda',array($delta))),To the array returned in agenda_block_view to get the contextual links to show up.
Not sure if this is the correct way to do this, hopefully someone with more experience will chime in.
Comment #2
gooddesignusa commentedComment #3
gooddesignusa commentedComment #6
guschilds commentedI've confirmed that this is the correct way to add contextual links to these blocks and that these contextual links work. I've committed the patch in #2 to the 7.x-2.x and also tweaked the title and weights of these links. These will be available in the next development release as well as any release after 7.x-2.0-beta1. Thanks again, gooddesignusa!