Horizontal Accordions!

lefnire - November 9, 2009 - 22:08
Project:Panels Accordion
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:lefnire
Status:fixed
Description

Attached is 6.x-1.0 with a sub-module called horizontal_accordion. It uses GD2 to turn the region/mini-panel title into an image & rotate, and styles as a horizontal accordion using danmasq's jQuery horizontal accordion to style the panel.

Will make a 6.x-2.x-dev version once this thing is fleshed out and (1) Dave approves, (2) if there are enough people who want it

AttachmentSize
panels_accordion.tgz834.04 KB

#1

lefnire - November 9, 2009 - 22:10
Status:active» needs review

#2

lipinponmala007 - November 10, 2009 - 07:27

i used this in my site ..i want have the horizontal accordion effect .

i created a mini panel
selected horizontal accordion from admin/panels/panel-mini/name_panel/edit-settings
added two nodes ex node/2.node/3

but in style settings a message:-
Apply accordion styles to multiple panes
This style does not have any settings. is found

i aded this mini panel to panelpage

RESUlT:
i am not able to see my tittle ,but the dragging effect works because i could see the "submitted by admin" line....

could you help me to go forward?

#3

lefnire - November 10, 2009 - 19:11

I'm having some trouble translating, sorry :( Any chance of uploading a screenshot of the problems you're seeing?

#4

lipinponmala007 - November 12, 2009 - 06:57

your module works good!!! thank you so much.......

but i want to use the horizontal accordion with one title and body opened by default.

the screen shot is attached below plz have a look

One more

I also wanted to have different images for different tittles..

i placed the title images to my /var/www/[drupal folder]/horizontal_accordion/header/test_header1

and changed the minipanel configaration like shown screenshot... and changed the line

$output .= "title\"/ title=\"$content->title\">\n";

to

$output .= "title\"/ title=\"$content->title\">\n";

i don't know whether i am giong right ...but i got almost what i want .please help me to complete this

#5

lipinponmala007 - November 12, 2009 - 07:00

tihs

AttachmentSize
this is what i want.png 96.45 KB

#6

lipinponmala007 - November 12, 2009 - 07:01

another screen shot

AttachmentSize
the_minipanel_config.png 140.32 KB

#7

lipinponmala007 - November 12, 2009 - 12:52

Got it!!!!!

i got the resulting horizontal accordion of my wish.. your module was the platform ..thank you thank you very much
it is done with adding some lines to .js file and .modue file

#8

lefnire - November 14, 2009 - 01:51

sorry lipinponmala007, not ignoring you -- I'll fix that bug very soon, promise.

In the mean-time, here are some more features: transparent png titles, bug fixes & updates dan's jquery module, settings on the panels style

AttachmentSize
panels_accordion.tgz 425.99 KB

#9

davexoxide - November 18, 2009 - 04:00

I approve of this feature. Lefnire, I like your idea of making it a submodule of 6.1.

Will it act like Kwicks where the width is fixed and everything expands depending on inner content?

#10

lefnire - November 19, 2009 - 01:00
Status:needs review» needs work

Ok, I committed the submodule to CVS. It depends on textimage for the text->image->rotate capabilities (this may change in the future).

dave, currently it acts more like this horizontal accordion, because we needed that at goingon (aka, the $ funding my programming) -- however, I personally think Kwicks is way cooler, and there's the jQuery version too. I want to create functionality for custom panel header images, which would support that functionality, in the future. On my todo :)

#11

lefnire - November 19, 2009 - 01:02
Status:needs work» needs review

gotta fix things lipinponmala007 pointed out before closing this ticket

#12

lefnire - November 19, 2009 - 04:34
Status:needs review» fixed

Ok lipinponmala007, made some changes -- css was hitting .content, which applied to both the panel-pane and the node-view (i wasn't getting these issues because I was using custom content, where you're pulling nodes). These issues should be fixed now, download the latest -dev. If it's still giving you problems, re-open

 
 

Drupal is a registered trademark of Dries Buytaert.