Download & Extend

warning: Missing argument 3 for theme_panels_pane()

Project:Panels Accordion
Version:5.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This looks like a cool module, but ... how do you use it? I installed an activated it, but am not seeing an additional choice in the add panel interface.

Comments

#1

Yeah, I haven't done any documentation for it and I should have been more clear about the requirements.

You need to be using Panels 2 and enable Mini Panels (for now).
Go ahead and build your mini panel, fill it with 2 or more panes. ( http://your-domain.com/admin/panels/panel-mini )
Then Click on "Layout Settings"
-- Choose "Accordion" from dropdown
-- Click "Edit Style settings" and Select your "Action", "Effect", and "Speed" ( I need to add defaults )
-- Save

Now go build a Panel that contains your Mini Panel and style it with some CSS.

Make sure your Content in the mini panels has a title. Either the title that gets pulled in or provide it with an override title.

#2

Thank you very much. The Panels 2 and Mini Panels information was just what I needed ...

#3

Is this module working with -dev version for panels? I can't get it working. I'm receiving the error:

warning: Missing argument 3 for theme_panels_pane() in /home/formgom8/public_html/modules/panels/panels.module on line 952.

Thanks in advance

#4

Honestly, I'm not getting it. I've tried picking several layouts for the Mini-Panel and the Panel and used the Layout Settings suggested. I don't get an accordion.

#5

What version of Panels do you have? Needs to be Panels 2.

#6

Panels 2, Beta 1

#7

Panels 2 beta 1, yup that should work.

So the next step is to create a mini panel w/ multiple panes (more than 1).
Then click the "Layout Settings" for that mini panel

example URL: http://yourdomain.com/admin/panels/panel-mini/mini_1/edit/settings

Choose Accordion from the dropdown Panel Style
Click "Edit Style Setting"
Choose your options
Save
And then save your mini_panel

When you insert that mini_panel into a panel it should have the Panels accordion effect.

#8

I've done exactly that several times and it's just not working still. I'd been using the 3 column 33/34/33 layout and then even tried switching to the brick layout but I'm not seeing any accordion effect. I did the Layout Settings and Edit Style Settings but still get no accordion effect.

Do I need to be using any particular Panels layout with my Mini-Panel?
I'm seeing the error mentioned above (Missing argument 3 for theme_panels_pane() ). Does this have anything to do with it?
I'm on PostgreSQL. Could that have anything to do with it?

#9

Status:active» closed (fixed)

I've added the additional arguments in the most recent snapshot. This should now work with Panels Beta 2. I've also included a README.txt.

Closed

#10

Thank you! Do you have a new release planned soon?

#11

Title:Instructions» warning: Missing argument 3 for theme_panels_pane()
Project:Panels Accordion» Panels
Version:5.x-1.x-dev» 5.x-1.x-dev
Component:Documentation» Code
Category:support request» bug report

I have the same error
I just change the line in panels.module:
before : function theme_panels_pane($content, $pane, $display)
after : function theme_panels_pane($content, $pane, $display="")

I think you can completly remove the $display because it isn't use in the function.

if that can help !

Tompte

#12

Project:Panels» Panels Accordion
Version:5.x-1.x-dev» 5.x-1.x-dev
Component:Code» Documentation
Category:bug report» support request

Tompte:

1) Don't completely repurpose issues like this.
2) Your suggestion is absolutely and completely wrong.

nobody click here