Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
After completing a mini panel I can't be able to go back and edit it to add more content. Is this a bug?
Comment | File | Size | Author |
---|---|---|---|
#15 | 867898-clone-edited-item.patch | 1.36 KB | merlinofchaos |
#13 | panelsoutput.png | 431.75 KB | mrlava |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedPlease tell me what you mean by can't? Without details I am forced to assume that pink elephants dressed up as gay police strippers are somehow preventing you from clicking the edit link on the mini panel. =)
Comment #2
BeaPower CreditAttribution: BeaPower commentedlol, yes I see the edit link but I can only change the name of the mini panel and not say - define a region in the mini panel or add more content to regions.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedThere are some links above those setting. Layout, context. They look too much like a breadcrumb trail right now,b ut they're clickable.
Comment #4
BeaPower CreditAttribution: BeaPower commentedOk I see them, but when I click content I get this error: Fatal error: Call to undefined method stdClass::render() in /home/dod/public_html/modules/panels/panels.module on line 1013
Comment #5
karma.code CreditAttribution: karma.code commentedWhere is the fix for this? I don't see a patch.
Comment #6
mrlava CreditAttribution: mrlava commentedim getting the same error and see no fix here so setting as active again
Comment #7
merlinofchaos CreditAttribution: merlinofchaos commentedThat is very interesting. That piece of code is not actually *supposed* to get called when editing a mini panel.
If one of you happens to be running devel.module and Views can you please, just before the failing line in panels.module add this:
if (method_exists($display, 'render')) { vsm_trace(); }
And then paste the results here?
Comment #8
karma.code CreditAttribution: karma.code commentedEarl,
I did this:
if (method_exists($display, 'render')) { vsm_trace(); }
die();
and got nothing.
Comment #9
mrlava CreditAttribution: mrlava commentedmerlinofchaos,
I added that line on 1013, nothing is displayed on the edit content page, just blank. however if i load the edit basic settings of the minipanel it gives:
panels_mini.module: panels_render_display line 79
module.inc: call_user_func_array line 462
context.core.inc: module_invoke line 581
context.core.inc: context_block_list line 444
theme.inc: call_user_func_array line 656
theme.inc: theme line 1820
theme.inc: call_user_func_array line 697
index.php: theme line 36
dunno if that helps since thats not where the error is though =/
Comment #10
merlinofchaos CreditAttribution: merlinofchaos commentedSorry, I typo'd my code.
It should be if (!method_exists)
The die() shouldn't happen. vsm_trace() puts its info in drupal_set_message.
Comment #11
mrlava CreditAttribution: mrlava commentedSame, blank page, no message, error moved to line 1014
Comment #12
merlinofchaos CreditAttribution: merlinofchaos commentedOk, there must be something wrong. Let's try it this way:
if (!method_exists($display, 'render')) { print_r(debug_backtrace()); exit; }
Comment #13
mrlava CreditAttribution: mrlava commentedhmm, lots of output, i'll just screenshot the whole view for you
Comment #14
mrlava CreditAttribution: mrlava commentedEarl,
Does that help or do you need more information from me?
Thanks for the help
Comment #15
merlinofchaos CreditAttribution: merlinofchaos commentedYes that output is helpful.
From the output it appears that the mini panel you're editing is also appearing on the page in the blocks, and the one being displayed in the block is failing.
This may be a bit of a pain for me to reproduce but I have an idea how to fix it. Try this patch to CTools (NOT to Panels! =)
Comment #16
mrlava CreditAttribution: mrlava commentedEarl,
Still the same error.
PHP Fatal error: Call to undefined method stdClass::render() in panels/panels.module on line 1013
Comment #17
mrlava CreditAttribution: mrlava commenteddoing this made it editable but not sure if its breaking anything else
http://drupal.org/node/861426#comment-3273914
Comment #18
merlinofchaos CreditAttribution: merlinofchaos commentedOk, let's mark this a dup as they are clearly the same issue. I think we're narrowing in on the culprit. I'm surprised my solution did not work, though. I will have to duplicate and see what is missing.
Comment #19
zazinteractive CreditAttribution: zazinteractive commentedThe breadcrumb menu really confused me as well.
Comment #20
Anonymous (not verified) CreditAttribution: Anonymous commentedwoah this got me crazy for a good while!
They do look like breadcrumbs. The standard layout of tabs or just a horizontal list would be better.
Comment #21
asb CreditAttribution: asb commentedDefinitely yes, this left my scratching my head for a while...
@merliln (#3): Thanks for the clarification, anyway!
Comment #22
AlmogBaku CreditAttribution: AlmogBaku commentedwow! its 2012 now and it still looks like breadcrumbs!
somebody should fix it!
Comment #23
AlmogBaku CreditAttribution: AlmogBaku commentedComment #24
sydneyshan CreditAttribution: sydneyshan commentedFrom a user perspective these » symbols read like a breadcrumb bar, not a series of separate links.
Comment #25
johnflower CreditAttribution: johnflower commentedI agree, the menu looks like breadcrumbs, no wonder Hansel and Gretel got lost!
Comment #26
tuccio CreditAttribution: tuccio commentedI too am here because I had problems figuring how to edit minipanels (which I never use). Those links should look like tabs, not breadcrumbs.
Comment #27
merlinofchaos CreditAttribution: merlinofchaos commentedhttp://drupal.org/node/1775234
Comment #28
Mikeyrush CreditAttribution: Mikeyrush commentedHi,
This exact issue was driving me insane, I too was completely thrown by the "breadcrumbs" that are not. Thank you so much for providing the above information, saved the day for me :)