[#6102] Drag & Drop portal
Summary Drag & Drop portal
Queue Horde Base
Queue Version HEAD
Type Enhancement
State Assigned
Priority 1. Low
Owners Duck <duck (at) obala (dot) net>
Requester Duck <duck (at) obala (dot) net>
Created 01/11/2008 (119 days ago)
Due
Updated 02/29/2008 (70 days ago)
Assigned 02/16/2008 (83 days ago)
Resolved
Attachments color.png Download
dragdrop[3].tgz Download
Milestone
Patch

History
02/29/2008 Duck Comment #16 Reply to this comment
Changed mlenum types to populate values with JS instead of reloading the entire page, fixes setting parameters forblock using mlenum parameters. This can be later merged to current portal block code as we don't need to reload the entire page, for example to select a location in the sunrise block.

I am going to add the ability to remember if a block is collapsed or expanded. After that I will create an separate example for testing.
02/25/2008 Duck Comment #15 Reply to this comment
Added column management
- Add a new column on the end of the column list
- Move/switch column content left or right
- remove a desired column
02/16/2008 Chuck Hagenbuch Comment #14
State ⇒ Assigned
Reply to this comment
I'm theoretically interested, but it's not at the top of my list currently. Please do let us know when there are updates, and we'll see if it comes up to the top of any other developer's list also.
02/16/2008 Duck Comment #13 Reply to this comment
I am just posting a not that developing of customisable js portal is not dead. Saw is working on it on our internal svn. Is integrated in one of our apps. Unfortunetly, I don't have time to extract a bare working example. I will do it when it will be finished or someone will show interest of active help in developing.

What we currently can do
- drag & drop boxes
- ajax  block parameter settings
- reload, minimize, maximize block
- customize portal CSS with JS interface
- select a predefined CSS
- edit your css in advanced mode
- select a predefined portal layout
02/01/2008 Duck Comment #12
New Attachment: color.png Download
Reply to this comment
We are experimenting even some kind of css customisation.
01/31/2008 Chuck Hagenbuch Deleted Attachment: dragdrop[2].tgz
 
01/31/2008 Chuck Hagenbuch Comment #11
State ⇒ Feedback
Reply to this comment
Cool. Still some things to work out, but I guess the question now is if/how/where to go about integrating this.
01/31/2008 Duck Comment #10
New Attachment: dragdrop[3].tgz Download
Reply to this comment
> Starting to look promising, though. Btw, I like the look a lot, but
> I'd prefer to see the blocks be styled consistently with the rest of
> the current theme - but a theme based on those styles would be very
> nice.

Saw (Jan Zagar) patched the code to integrate it with horde themes.
01/18/2008 Chuck Hagenbuch Comment #9 Reply to this comment
Yes, the reference error is fixed for me, and now the layout is much better too. It seems like the third column is pushed down below the first two, though?

One quirk: the expand/collapse graphics seem to have one global state - if I collapse a single block, then I see a plus even on blocks that are still expanded.

When blocks are added, they don't seem to take up enough vertical space.

The weird bottom column doesn't go away even if I move all blocks from it.

Starting to look promising, though. Btw, I like the look a lot, but I'd prefer to see the blocks be styled consistently with the rest of the current theme - but a theme based on those styles would be very nice.
01/18/2008 Chuck Hagenbuch Deleted Attachment: dragdrop[1].tgz
 
01/17/2008 Duck Comment #8
New Attachment: dragdrop[2].tgz
Reply to this comment
Maybe I fix the reference error, even my php 5.2.5 with E_ALL does not say anything.

As we cannot deal with all undefined index errors from blocks, I silenced all getTitle/getContent calls for now. If errors persists please copy you firebug response body possibly containing xdebug output.

I know bocks with JS does not work, I take this as reasonable to wait till the initiail steps and direction is taken.
01/17/2008 Chuck Hagenbuch Comment #7 Reply to this comment
I see some things now; the layout seems a bit scrambled, the call-time-pass-by-ref error still needs to be fixed; an undefined index error goes by quickly when adding a new block (the block also doesn't show up, but I get a js alert box about the block not having special parameters); and blocks that load javascript don't work.

I like the hover controls on blocks, but this isn't usable for me yet...
01/17/2008 Jan Schneider Deleted Attachment: portal_edit.js
 
01/17/2008 Jan Schneider Deleted Attachment: dragdrop.tgz
 
01/17/2008 Duck Comment #6
New Attachment: dragdrop[1].tgz
Reply to this comment
Paths fix. Should work now. At least  I tested with FF and Opera on Linux.
01/16/2008 Chuck Hagenbuch Comment #5
State ⇒ Assigned
Assigned to Duck
Reply to this comment
I see the same things Jan reported. The "Xilinus is undefined" errors prevent blocks from being added. Looks briefly promising up to that point though. :)
01/16/2008 Jan Schneider Comment #4 Reply to this comment
I get a lot of undefined Xilinus js errors, and a call-time-pass-by-reference error in lib/Block/Layout/View/js.php
01/13/2008 Chuck Hagenbuch Comment #3
State ⇒ Accepted
Reply to this comment
I'm hoping to have a look at this within a few days but haven't been able to so far - sorry for the delay. Bad weekend for getting stuff done.
01/12/2008 Duck Comment #2
New Attachment: portal_edit.js
Reply to this comment
Fix setting parameters. Still have problem with block that have trackchange actions in parameters but I am not going to solve it before receiving some feedback.
01/11/2008 Duck Comment #1
New Attachment: dragdrop.tgz
Queue ⇒ Horde Base
Summary ⇒ Drag & Drop portal
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Reply to this comment
Proposal of drag & drop portal. Extract files in your /horde directory ang go to your http://localhost/horde/dragdrop/.

- add block with ajax calls, redbox is called to select a box and its parameters
- managa portal without saving and data till you click "save"
- reload, minimize, maximize block

JS Script used.
http://blog.xilinus.com/2007/9/4/prototype-portal-class-2