The callbacks need to be more standardized. There are some outstanding bugs that EclipseGC mentioned that this should take care of.

Comments

kvanderw’s picture

Status: Active » Needs review

Here is the branch that I have been working against.

git clone --branch 1091588 kvanderw@git.drupal.org:sandbox/kvanderw/1091596.git

kvanderw’s picture

Loaded it up in a base d7. with
views
views_bulk_operations
advanced_help
ctools
panels
context_admin

clicked on 'people' which took me to /admin/people and threw and error
Fatal error: Call to undefined function ctools_plugin_load_function() in /var/aegir/platforms/d7.0/sites/all/modules/context_admin/context_admin.module on line 109

kvanderw’s picture

Since the call made reference to $plugin, I checked that out with
drupal_set_message('

' . print_r($plugin, TRUE) . '

');
I had to comment the reference to ctools_plugin_load_function to get any output.
The DSM provided me with 3 blank results.
I altered it to include X on either side of the $plugin and refreshed.
Now, just 2 lines with XX
Checked all menu items.

Dashboard = 1
Content = 1
Structure = 0
Appearance = 1
People = 2
Modules = 1
CTools Plugin Example = 0
Configuration = 0
Reports = 0
Advanced Help = 1
Example Help = 0
Help = 0

did a search on the ctools module.... The line is NOT misspelled.
more research is called for.

kvanderw’s picture

According to merlin... I was missing
ctools_include('plugins');
in the function

So, back to searching for more bugs.
And... updating the repo...

eclipsegc’s picture

Status: Needs review » Closed (fixed)

RC1 released with this code landed.