Closed (won't fix)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 23:08 UTC
Updated:
12 Apr 2012 at 22:15 UTC
Currently there's no way (that I know of) to interact with the contents of a panel/page, and act upon it's values before it's rendered. I stumbled upon this problem with the current way I've developed Panels Breadcrumbs, that sets the breadcrumbs at hook_ctools_render_alter(). While it works quite nicely if you simply print $breadcrumbs at theme time, if you show the breadcrumbs through panels as pane, the pane that holds the breadcrumb will have been rendered before ctools_render_alter gets called, meaning, no custom breadcrumbs pane.
Looking through the code I found that "all" handlers call ctools_context_handler_pre_render, but as of version 7.x-1.0-rc1 it hasn't been implemented.
Comments
Comment #1
Ashlar commentedConverted to feature request. Thanks for your suggestion.