| 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 ![]() dragdrop[3].tgz ![]() |
| Milestone | |
| Patch |
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.
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
State ⇒ Assigned
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.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
New Attachment: color.png
We are experimenting even some kind of css customisation.State ⇒ Feedback
Cool. Still some things to work out, but I guess the question now is if/how/where to go about integrating this.New Attachment: dragdrop[3].tgz
> 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.
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.
New Attachment: dragdrop[2].tgz
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.
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...
New Attachment: dragdrop[1].tgz
Paths fix. Should work now. At least I tested with FF and Opera on Linux.State ⇒ Assigned
Assigned to Duck
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. :)I get a lot of undefined Xilinus js errors, and a call-time-pass-by-reference error in lib/Block/Layout/View/js.phpState ⇒ Accepted
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.New Attachment: portal_edit.js
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.New Attachment: dragdrop.tgz
Queue ⇒ Horde Base
Summary ⇒ Drag & Drop portal
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
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