11
script_fu
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)

My post wasn't meant as negative.

In fact if you have ever had admin over a dotnetnuke site you would see what I mean. Its a very cool and useable feature. There cms has great ideas that no one ever compares XOOPS to. It always joomla and drupal ect ect.

I respect wanikoo very much and have used many of his ideas over the years. This one goes down as a great idea in my book.

Try a 4.95 windows hosting package over at godaddy install DNN and play. Very cool features indeed and wanikoo has just scrached the surface of where that journey can lead.

I spent most of my time here with xoops. That doesn't mean im closed minded. I install all of the different cms I can and I play/work with them.

Hell I just found a whole new set with vtiger,sugar & some very heavy stuff like ---> compiere. Can't wait till I get compiere running

But XOOPS is my home and where it all begun for me back in the old 1.x.x. days...

And the last time I checked it said XOOPS in the url...

Regards
Billy

12
damaster
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)
  • 2006/4/22 11:20

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


Quote:

script_fu wrote:
My post wasn't meant as negative.


Mine either!



I've been using sugar and now vtiger as dokeos to compensate XOOPS while testing other projects.

By the way, i've a lot of fun working on Wanikoo themes and still improving graphics and ergonomic interfaces.

And it still a branch of the same tree!

I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

13
wanikoo
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)
  • 2006/4/25 17:54

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


// ------------------------------------------------------------------------ //
// XOOPS Cube/XOOPS Default Theme Hack Ver4.0 //
// Just enjoy! Internet for everyone!! //
// wanikoo < http://www.wanisys.net/ > /
// ------------------------------------------------------------------------ //
// Based on XOOPS Cube/XOOPS Default Theme //
// ---JavaScript Author-- //
// - prototype.js ( Sam Stephenson http://prototype.conio.net/ ) //
// - rico.js ( Sabre Airline Solutions http://openrico.org/rico/ ) //
// - Scriptaculous ( Thomas Fuchs http://script.aculo.us ) //
// - javawin ( bastien Gruhier, http://blogus.xilinus.com/pages/javawin ) //
// ------------------------------------------------------------------------ //


With this Theme,
You can D&D(Drag and Drop)/Resize each block of your XOOPS Cube/XOOPS Site!
It means visitor can reorder/resize blocks freely by D&Ding each of them.
^^;;
-Ver4.0-
Now you can browse/experience your XOOPS Cube/XOOPS Site on Windows-like Interface!
(Basic Windows: Left Block Window, Right Block Window, Center Block Window, Main Content Window )
+ TrashCan Window(Trashcan function to restore closed windows).
-Ver3.0-
Now you can slide up/down each block and each blocksecton of your XOOPS Cube/XOOPS Site.
and
With Handle,you can D&D(Drag and Drop) each block of your XOOPS Cube/XOOPS Site.

-Ver2.0-
Now you can minimize/restore each block of your XOOPS Cube/XOOPS Site like Windows.

-<notice>-
I changed some codes of javascript files(used in these themes)to fix some bugs and add new functions!
so...
when you use these themes, you have to use javascript files modified by me and included in this package.


####################

Download:(Ver4.0)
http://dev.xoops.org/modules/xfmod/pr ... 89&release_id=967&dl=2404

####################


-----------------------
<change>
---------------------
<Ver4.0>
.New themes(with new functions) added to this package.
(you can browse/experience your XOOPS Cube/XOOPS Site on Windows-like Interface!
(Basic Windows: Left Block Window, Right Block Window, Center Block Window, Main Content Window )
(All windows are draggable, resizbale, closable -common in win2 themes,win3 themes,win4 themes)
(each window has close button/slideup(minimize)button/slidedown(restore)button -common in win3 themes,win4 themes )
(+ Trashcan function to restore closed windows -common in win3 themes,win4 themes)
(each block in each window has minimize/restore button -only in win4 themes )
.bug of size3themes fixed.
( Slide up/down function of each block section didn't work properly on Firefox.)


-------------------------------------------------------------------------------
Ver4.0 New themes added to this package!
------------------------------------------------------------------------------
--------------------
cube_win2default theme ( for XOOPS Cube 2.1 )
---------------------
Name="Default Theme-Win2(Window) Version"
Depends=Legacy_RenderSystem
Url="http://xoopscube.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Cube Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win2(Window) Version of XOOPS Cube 2.1"

--------------------
cube_win3default theme ( for XOOPS Cube 2.1 )
---------------------
Name="Default Theme-Win3(Window with Trashcan) Version"
Depends=Legacy_RenderSystem
Url="http://xoopscube.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Cube Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win3(Window with Trashcan) Version of XOOPS Cube 2.1"

--------------------
cube_win4default theme ( for XOOPS Cube 2.1 )
---------------------
Name="Default Theme-Win4(Window with Trashcan and Block Resize) Version"
Depends=Legacy_RenderSystem
Url="http://xoopscube.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Cube Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win4(Window with Trashcan and Block Resize) Version of XOOPS Cube 2.1"

--------------------
win2default theme ( for XOOPS 2.0.x JP )
---------------------
Name="Default Theme-Win2(Window) Version"
Depends=Legacy_RenderSystem
Url="http://xoopscube.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Cube Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win2(Window) Version of XOOPS 2.0.x JP"

--------------------
win3default theme ( for XOOPS 2.0.x JP )
---------------------
Name="Default Theme-Win3(Window with Trashcan) Version"
Depends=Legacy_RenderSystem
Url="http://xoopscube.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Cube Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win3(Window with Trashcan) Version of XOOPS 2.0.x JP"

--------------------
win4default theme ( for XOOPS 2.0.x JP )
---------------------
Name="Default Theme-Win4(Window with Trashcan and Block Resize) Version"
Depends=Legacy_RenderSystem
Url="http://xoopscube.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Cube Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win4(Window with Trashcan and Block Resize) Version of XOOPS 2.0.x JP"

--------------------
win2xdefault theme ( for XOOPS 2.0.x JP )
---------------------
Name="Default Theme-Win2(Window) Version"
Depends=Legacy_RenderSystem
Url="https://xoops.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win2(Window) Version of XOOPS 2.0.x"

--------------------
win3xdefault theme ( for XOOPS 2.0.x JP )
---------------------
Name="Default Theme-Win3(Window with Trashcan) Version"
Depends=Legacy_RenderSystem
Url="https://xoops.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win3(Window with Trashcan) Version of XOOPS 2.0.x"

--------------------
win4xdefault theme ( for XOOPS 2.0.x JP )
---------------------
Name="Default Theme-Win4(Window with Trashcan and Block Resize) Version"
Depends=Legacy_RenderSystem
Url="https://xoops.org and http://www.wanisys.net/"
Version="4.00"
Author=XOOPS Project Team and Wanikoo and Authors of scriptaculous, prototype and javawin
ScreenShot="screenshot.png"
Description="Default theme-Win4(Window with Trashcan and Block Resize) Version of XOOPS 2.0.x"

--------------------------------------------------------------------------------------

-----------------------------------------
Credit of Javascripts used in these themes
-----------------------------------------
prototype.js
/* Prototype JavaScript framework, version 1.4.0
* (c) 2005 Sam Stephenson <sam@conio.net>
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://prototype.conio.net/
*
/*--------------------------------------------------------------------------*/

Rico.js
/**
*
* Copyright 2005 Sabre Airline Solutions
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
**/

scriptaculous.js
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// MIT-style license
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:

window.js
// Copyright (c) 2006 bastien Gruhier (http://xilinus.com, http://itseb.com)
// MIT-style license
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:

------------------
Browser Support:
------------------
This has been tested on IE 5.5, IE 6, Firefox 1.0x/Win, Camino/Mac, Firefox 1.5x/Mac.
( Currently, some themes are not supported on Safari )
-------------------
How to install
------------------
Just copy it to /themes dir.
and..
Make it workable through Preference configuration section of Admin menu
----------------

-------------------------------------------------------------------
How to apply new func(of Ver4.0) to other XOOPS Cube/XOOPS themes
--------------------------------------------------------------------
You can more easily apply new functions to other XOOPS(Cube) Themes!

1) add new css links after XOOPS css link (referring to theme.html of each theme.)
2) add new javascript codes after xoops_js
( please refer to theme.html of each theme ! You can easily find it. )
3) You have to environ block loop with this code!
<div id="xcubecontentsection" style="visibility:hidden;" > ~~ </div>
*WARNING
win3 theme and win4 theme has some codes(related with trashcan func) before block-loop.
<div id="trashcan"> ~~~ </div>
3) modify each block-loop refering to theme.html of each theme!

I believe you can do this job easily.
Notice:
You can customize each window by modifying css file.
(I mean you can assign different css file to each window. )
(ex: basic windows use default.css and trashcan window use theme1.css. )
(For more information, please analyze window.js and theme.html of each theme )
----------------------------------------------------------------------------------

--------------------------------------------

From wanikoo

the most educational site, wanisys.net

14
damaster
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)
  • 2006/4/25 21:09

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


YOU DID IT AGAIN!

Flying windows, minimize, maximize, open & close
even the dynamic z-index is working...ummm....

One word : BRILLIANT !

With this release, Wanikoo won the challenge and gained the title of

The best Xoops (all branch) Theme!





by reference, XOOPS Cube Theme XTiger_OS
(reviewed Damaster postnuke theme 2001)


Resized Image


Educational purpose only, Damaster
I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

15
davidl2
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)
  • 2006/4/25 21:47

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Very very impressive work!

16
damaster
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)
  • 2006/4/25 22:30

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


It will work as a desktop and this first interface fits Wanikoo demand
and some XOOPS (all branch) users expectations, i guess...





I have a bonsai.
One day it fell in troubles,
I went to speak to the old man
who said to me:

- Cut the dead branch... then cut the sick branch...

Worried and dissatisfied, I've replied:

- But... It will die!?

With what the old man wisely answered:

- No. You should be patient to see
the small branch flowering in spring
and your bonsai will survive.


I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

17
script_fu
Re: XOOPS(Cube) Default Theme Hack-(Block Drag&Drop&Resize Theme Hack)

I just wanted to bump this thread. Maybe there is more info on this now.

I still like the feature of edit or erase a block from front side.

Alot of time is wasted looking for the correct block to edit.

Seem's like I go around and around from front to back side to edit all the different stuff.

18
underdog
XoopsCube Ajax Drag and Drop Blocks
  • 2007/7/10 13:50

  • underdog

  • Just popping in

  • Posts: 44

  • Since: 2007/6/21


*bump*
This is your typical Ajax Drag and Drop Blocks model.
dd2xdefault is exactly what I need, however I hope that the theme remembers the positions of the blocks after a refresh or something.

Actually, we should combine the excellent
http://dev.xoops.org/modules/xfmod/project/?ajaxedxoops
work with the work that wanikoo did.

That way you would have an ajaxed XOOPS theme which remembers the block positions (if dd2xdefault does that, I will check that out)

19
damaster
Re: XoopsCube Ajax Drag and Drop Blocks
  • 2007/7/10 14:11

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


Well, at that time Prototype framework was missing such features alike "cookies management". Since Wanikoo themes, an extension was released : Script.aculo.us Wiki.

Do a search for cookie mangement, i'm sure you'll be able to easily add it to your theme.

Have Fun !

I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

20
bumpeboy
Re: XoopsCube Ajax Drag and Drop Blocks
  • 2009/11/24 16:00

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4



Sounds nice, does this work on 2.4.xx? I was searching for previous samples but did not see, can some one please point a sample.

Login

Who's Online

52 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 52


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits