Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 16, 2012, 10:05:34 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155094
Posts in
21661
Topics by
7721
Members
Latest Member:
arrow345
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
Once upon a time there was...
Pages: [
1
]
Go Down
Author
Topic: Once upon a time there was... (Read 2799 times)
Hans
Offline
Posts: 564
Once upon a time there was...
«
on:
January 16, 2007, 10:03:48 PM »
Once upon a time there was a module (see:
http://forum.websitebaker.org/index.php/topic,3029.0.html
that made it possible to
Reorder pages using drag-and-drop: Drag'n'drop reordering on the "Pages" page using AJAX.
Reorder sections using drag-and-drop: Drag'n'drop reordering on the "Sections" page using AJAX.
I used this module with great pleasure, it made reordering pages as easy as 1+1. I wonder if somebody had tried to implement this in 2.6.5 and if that worked. If not, if somebody could rewrite the code to make it compatible with the latest version.
Thanks
Hans
Logged
Hans - Nijmegen - The Netherlands
tomhung
Offline
Posts: 353
Re: Once upon a time there was...
«
Reply #1 on:
January 16, 2007, 11:44:05 PM »
The modules's help states:
Code:
The module has not yet been integrated into websitebaker. Use to following steps to activate the module:
1. In a text editor, open the file wb/framework/class.admin.php
2. Find the function print_footer()
3. Add the following line to it:
@include(WB_PATH.'/modules/jsadmin/footer.php');
4. The function should end up looking like this:
function print_footer() {
@include(WB_PATH.'/modules/jsadmin/footer.php');
$footer_template = new Template(ADMIN_PATH."/interface");
$footer_template->set_file('page', 'footer.html');
$footer_template->set_block('page', 'footer_block', 'header');
$footer_template->parse('header', 'footer_block', false);
$footer_template->pparse('output', 'page');
}
I had to add this to get it working in 2.6.5
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7970
Re: Once upon a time there was...
«
Reply #2 on:
January 17, 2007, 07:19:18 AM »
Hello,
nice name for a thread
but let us start the discuss of this addition new.
I would like to see this integrated in the core files of WB. Not as modul and without any options. My Ideas on this are:
1. Add the Ajax libraries to the include folder
2. Add the functions to framework/class.admin.php
Can anyone of the phpgurus do this?
Matthias
Logged
Waldschwein
Guest
Re: Once upon a time there was...
«
Reply #3 on:
January 17, 2007, 08:36:18 PM »
Yes, it works perfect in 2.6.5. Should be not very hard then I think to integrate it in 2.7.
Of course only, when Ajax has been tested and concluded being 100% safe (I heard about many problems with it though...).
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7970
Re: Once upon a time there was...
«
Reply #4 on:
January 17, 2007, 08:40:20 PM »
Hello,
about including in WB read here:
http://forum.websitebaker.org/index.php/topic,3029.msg32073.html#msg32073
Matthias
Logged
Waldschwein
Guest
Re: Once upon a time there was...
«
Reply #5 on:
January 17, 2007, 08:46:40 PM »
Eh, it works perfect, have integrated it.
I meant, there are known problems with the programm language AJAX. Of course I only heard about it, but e.g. the developers of phpBB3 think it is too unsafe to use- but I don't know really about it.
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7970
Re: Once upon a time there was...
«
Reply #6 on:
January 17, 2007, 08:52:08 PM »
Hello,
the problem are not the funtionality the problems are the licenses. If we us third party scripts in the core files of WB they should stand under the GNU license. The JSadmin files have other licenses.
Matthias
Logged
doc
Guest
Re: Once upon a time there was...
«
Reply #7 on:
January 17, 2007, 09:02:51 PM »
@Waldschwein
AJAX is not more or less unsave than PHP. In general each added feature will widen the field for possible attacks. Ruby on rails for example already included the Prototype framework and the effect library of Scriptaculous, and I am pretty sure, more and more websites will add this feature over the next months/year.
Regards Christian
Logged
tomhung
Offline
Posts: 353
Re: Once upon a time there was...
«
Reply #8 on:
January 19, 2007, 12:51:13 AM »
i vote for prototype and scriptaculous... they are the best out there. and i think they are GPL (AFAIK)
Logged
tomhung
Offline
Posts: 353
Re: Once upon a time there was...
«
Reply #9 on:
January 19, 2007, 12:51:51 AM »
can someone rename this thread. so i can remember to read this....
Logged
doc
Guest
Re: Once upon a time there was...
«
Reply #10 on:
January 19, 2007, 04:06:15 PM »
Looked only in the source code files of the jsadmin module, which states copyright by YAHOO. After some research in the web, I found out that the routines used are licensed under BSD license (free to use and to implement). See the following link for further information.
http://forum.websitebaker.org/index.php/topic,3029.msg32164.html#msg32164
P.S. The very first post of the thread clearly states the license, but for whatever reason, the license notices were truncated in the jsadmin code files (sorry for the worry).
http://forum.websitebaker.org/index.php/topic,3029.msg19152.html#msg19152
Regards Christian
Logged
Hans
Offline
Posts: 564
Re: Once upon a time there was...
«
Reply #11 on:
March 22, 2007, 11:25:48 AM »
And now?
Can we have this in the addon section?
Hans
Logged
Hans - Nijmegen - The Netherlands
doc
Guest
Re: Once upon a time there was...
«
Reply #12 on:
March 22, 2007, 11:50:23 AM »
There are no license issues regarding the YAHOO framework used.
In general one needs to download the latest version of the YAHOO framework and implement this to the latest javascript admin module version available in this thread.
So if you have time do it
Best regards
Christian
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...