Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added a 'Panel title' pane to a panel page in the page manager. After saving the same panel page with the IPE, the 'Panel title' pane outputs nothing, except:
<!-- ctools-page-title-839b479e895e2bc96ecac092c6aa6636 -->
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedThis is a known deficiency in the IPE right now. Certain bits of content are filled in via hook_preprocess_page and that does not get run when IPE updates a page. This is, I agree, very annoying, but it's not completely critical and so I haven't prioritized it as something to devote time to trying to resolve.
The short version of what needs to happen is that we need to run CTools' token substitution system over the output before it is sent back, but that more or less means running a theme('page') so we can get that data, and then not actually using the output because we don't actually want to theme('page') it. That makes things...tricky.
Comment #2
broeker CreditAttribution: broeker commentedI've been trying to track this one down also and assuming this is all related; in our case we are also losing our Main Menu tree (in addition to our custom Page Title) on every "Save" after customizing a page. I originally assumed this was Panelizer/IPE bug but after disabling Panelizer I can easily duplicate using a plain Panel page and IPE:
Not sure if it helps but here are the somewhat related tickets I've tracked down, some have been marked as "fixed" but seem to be dealing with the same/similar issue:
"Menus disappear when saving in IPE, page refresh needed to bring back." (Open in Panelizer queue, but not really a Panelizer issue)
http://drupal.org/node/1835456
"Panels IPE Save Drops Context Specified in Page Manager" (Marked as fixed)
http://drupal.org/node/1772834
"Panelizer default content and IPE, without page refresh panel is emptied on second save" (Marked as fixed, Panelizer queue)
http://drupal.org/node/1572202
Comment #4
gmclelland CreditAttribution: gmclelland commentedAlso related #1780742: Panelizer (Full Page Override) + Page Elements (eg: page_tabs, page_title) break Panels IPE
Comment #5
DamienMcKennaTagging for easy reference.
Comment #6
joelstein CreditAttribution: joelstein as a volunteer commentedSee #2824874-2: Fake path for better context when rendering panes with IPE which fakes the path to provide better context when rendering panes.