Closed (cannot reproduce)
Project:
Panels
Version:
7.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2013 at 06:01 UTC
Updated:
12 Feb 2013 at 03:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedHm. Adding the 'node add form' context turns the entire page into a form, which on an administration page is probably not what you want to do. And this may be a problem all by itself if you've got other forms -- and that might be why other blocks disappears, if they contain forms. Having embedded form tags is illegal HTML and browsers may just choke on it.
You may need to just create a single block that contains the node add form configured the way you like it.
Comment #2
a.vakulenko commentedWell, I only have views exposed forms in other Variants of panel page. No forms on same page certainly. And my screenshot is not about drupal admin page, I have another URL for that page, not starting with "admin", I just turn on fubik theme for that for visual pleasure.
I've just tried to create totally new panel page with only a single variant. I added "node add form" context to that variant and saw the same buggy behavior, warning messages and disappearing blocks. My guess is either about conflict with some other module or bug in Panels itself (or in page manager).
Comment #3
a.vakulenko commentedI've tried Form block module, it's nice. But putting node form in a block is not a good solution for me because I'd like to place separate fragments of a form which Panels allows to put (submit buttons, fields, vertical tabs) in my own way.
Comment #4
a.vakulenko commentedHm, just turned off Fubik theme for my page. Now everything seems to be ok. But I don't think that theme selection can affect this way. I use the following code to switch theme:
$admin_theme_url_patterns = array(
'~^/adminka~',
'~^/node/add~',
'~^/node/[0-9]+/edit~',
'~^/node/[0-9]+/delete~',
'~^/taxonomy/term/[0-9]+/edit~',
'~^/filter/tips~',
'~^/import~',
);
foreach ($admin_theme_url_patterns as $pattern)
if (preg_match($pattern,$_SERVER['REQUEST_URI']))
$conf['theme_default'] = 'fubik';
I place it insite settings.php
Comment #5
a.vakulenko commented