You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 14-09-2013 02:59:33

pbcfit
Contributors
From: Florida
Registered: 10-09-2013
Posts: 6

Sidebar opening on either right or left?

I know that modifying >plugin.php, and >desktop.js will allow you to change the side that the panel will open. So my question is how can I have both? ex. tile 1 opens left sidebar, tile 2 opens right sidebar? Is this even possible?

Thanks,

Dave

PS I have searched to forum for something similar but have come up empty handed? maybe i have overlooked it?

Last edited by pbcfit (14-09-2013 20:44:46)

Offline

#2 16-09-2013 15:59:23

pbcfit
Contributors
From: Florida
Registered: 10-09-2013
Posts: 6

Re: Sidebar opening on either right or left?

Is this a difficult question, or its just not worthy of an answer?

Offline

#3 16-09-2013 16:02:51

steebchen
Contributors
From: Germany
Registered: 03-05-2013
Posts: 121

Re: Sidebar opening on either right or left?

Be patient, till the admins are coming ^^

Offline

#4 16-09-2013 16:43:28

pbcfit
Contributors
From: Florida
Registered: 10-09-2013
Posts: 6

Re: Sidebar opening on either right or left?

I am not tryin to impatient or rude, I was just wondering why there has been no reply? I have seen later post that have already been answered.

Offline

#5 16-09-2013 17:13:23

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Sidebar opening on either right or left?

Yea sorry, I've been working on it but somehow a small bug prevents the panel from coming up and I've not found the cause yet.

(what I did was just duplace almost all code and made a left version of it tongue )

Offline

#6 16-09-2013 19:22:13

chrismaliszewski
Contributors
From: Torun, Poland
Registered: 06-05-2013
Posts: 246
Website

Re: Sidebar opening on either right or left?

I don't have computer with PHP now but I'd tell you this:

this create 2 sidebars with different names in proper file, one left side, the other right site and place tiles as you want in both of them. Then in php file where you want them to be shown, call function showSidebar(?) twice for each sidebar.
As far as I remember (with trying only one sidebar on page) sidebar is created as DIV placed on left/right side of page when function showSidebar is called, so it might work if you call it 2 times for different sides if sidebar DIV is positioned at the top of page like this
----------
| header |
----------
|S1|C|S2|
----------
| footer  |
----------

and not like this:
----------
| header |
----------
|S1|C     |
|     C|S2|
----------
| footer  |
----------

See for yourself how does it word and if you can tell us and/or place image with result.

I'd try it by myself but as I said - I don't have computer with PHP interpreter next to me.

Cheers.

Last edited by chrismaliszewski (16-09-2013 19:26:30)

Offline

#7 16-09-2013 19:24:43

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Sidebar opening on either right or left?

Chris, I think he means sidepanel wink

Offline

#8 16-09-2013 20:06:24

pbcfit
Contributors
From: Florida
Registered: 10-09-2013
Posts: 6

Re: Sidebar opening on either right or left?

Yes I do mean side panel. One to open up on the left, and another to open up on the right, dependent upon which tile was clicked on the home page. I did try to duplicate it and make the second one for the left side, but its giving me a bit of trouble, I was hoping for a simple fix? but the simplest thing are sometimes the most difficult to accomplish!

Thanks

Last edited by pbcfit (16-09-2013 20:10:57)

Offline

#9 19-09-2013 22:29:31

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Sidebar opening on either right or left?

Ok plugin is done: https://www.dropbox.com/s/2fz0sh4z7pews … lsleft.zip

you need to put the left panels in a folder called "lpanels" (just like you have "panels") and then call the panel like you'd normally do but with "lpanels" instead of "panels"

Offline

#10 20-09-2013 00:18:22

pbcfit
Contributors
From: Florida
Registered: 10-09-2013
Posts: 6

Re: Sidebar opening on either right or left?

Thanks Thomas

Offline

#11 16-04-2014 19:24:21

michal
Contributors
Registered: 12-04-2014
Posts: 3

Re: Sidebar opening on either right or left?

Hello,

the accordions do not work with this plugin (only on left panel) Any ideas?

Offline

#12 16-04-2014 19:30:29

chrismaliszewski
Contributors
From: Torun, Poland
Registered: 06-05-2013
Posts: 246
Website

Re: Sidebar opening on either right or left?

Read this and that if you want, copy accordion plugin from my website. Make sure you make a copy of original file!

Offline

#13 22-04-2014 15:45:41

michal
Contributors
Registered: 12-04-2014
Posts: 3

Re: Sidebar opening on either right or left?

I've done it before and no results. The problem occurs only on the left panel (lpanels plugin). On the default panel (panels plugin) everything is alright.

Last edited by michal (22-04-2014 15:46:23)

Offline

#14 22-04-2014 17:46:21

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Sidebar opening on either right or left?

Any error in the Chrome console?

Offline

Board footer

Powered by FluxBB