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.
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
Comment #1
davidburnsYeah, 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.
Comment #2
jiangxijay commentedThank you very much. The Panels 2 and Mini Panels information was just what I needed ...
Comment #3
kiko commentedIs 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
Comment #4
WISEOZ commentedHonestly, 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.
Comment #5
davidburnsWhat version of Panels do you have? Needs to be Panels 2.
Comment #6
WISEOZ commentedPanels 2, Beta 1
Comment #7
davidburnsPanels 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.
Comment #8
WISEOZ commentedI'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?
Comment #9
davidburnsI'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
Comment #10
WISEOZ commentedThank you! Do you have a new release planned soon?
Comment #11
tompte commentedI 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
Comment #12
merlinofchaos commentedTompte:
1) Don't completely repurpose issues like this.
2) Your suggestion is absolutely and completely wrong.