DRUPAL 5.0 and AJAX

Ram - September 23, 2006 - 06:51

Besides "added support for auto-complete forms (AJAX) to user profiles",
Does Drupal5.0 support AJAX based applications? For example, I want the users of the site to personalize their homepage, same as the way Google personalized home provides (http://www.google.com/ig). The users can drag and drop the blocks and place them wherever they like. Is this Drag and Drop feature provided in Drupal 5.0?

If this feature is not provided in drupal, Is Drupal flexible enough so that I can customize drupal to provide drag and drop of blocks/webparts to users of the site.
First of all, Is the Drag and Drop feature achievable in drupal. Please suggest me the ways to achieve drag and drop of Blocks/web parts.

Hi Rambabu, Yes youre in

drofnar - September 23, 2006 - 07:08

Hi Rambabu, Yes youre in luck, just recently Ayman just published a tutorial on how to create just such an interface, he is now rebuilding it to use the jquery ajax that will come built in for drupal 5.0. Check it out, its a great tutorial, and he has a demo you can try it out. The turial is here: http://aymanh.com/drag-drop-portal-interface-with-scriptaculous

Thanks Drafnor

Ram - September 23, 2006 - 08:32

Hey Drafnor,
Thanks for your information. The demo is pretty cool.

what if such a script would

reneb - January 2, 2007 - 08:39

what if such a script would be part of the management tools for drupal; i.e. customize site layout / modify templates using ajax ??? :)

That would be

divrom - January 4, 2007 - 13:03

That would be excellent.

That's the first thing I thought when I saw the demo.

I use Drupal to design sites for others and it would be an excellent feature, almost creating a kinda site-builder option. Even if it just controlled the display and placement of blocks it would be fantastic.

I'm not sure where they are up to with merging this module and Panels, as the thread went quiet in November, but that is an exciting prospect.

drupal 5 & ajax

uzbekjon - January 4, 2007 - 14:18

Would be greate to see some ajax in admin panel, but i guess it would make things more complicated...

i guess ajaxifing core would not be any good, but it's IMO...

----------------------------------------
Sites for uzbek and Uzbekistan:
Uzbek Lyrics Database
Uzbekistan Forum

Wouldn't need to be core

divrom - January 4, 2007 - 19:18

Would it need to be core?

There are modules like administration menu that affect core modules, but can safely be turned on or off. I'd envision it working similarly.

ajaxifing properly also

reneb - August 25, 2007 - 12:44

ajaxifing properly also means elegant degradation in case of lack of support at the user's end.
so i see no harm in ajaxifing anything in principle - as long as it is useful and not just a design gimick

but that's just my 2 cents :)

MySite

agentrickard - January 5, 2007 - 21:08

@Rambabu

Are you looking for personalization like what is provided by MySite (http://drupal.org/project/mysite).

I've already worked out a Drag-n-Drop solution, but it will require some changes to the module's underlying code. (See http://drupal.org/node/101471).

If you'd like to contribute, let me know.

--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.

Drag-and-drop-and save

agentrickard - January 5, 2007 - 21:06

For all the JQuery experts out there.

I couldn't find an obvious drag-and-drop function that would also fire an AJAX request to save changes instantiated by the JQuery .SortSerialize feature available from http://interface.eyecon.ro. I ended up writting one from scratch.

What I'm looking for is a JQuery-native XML HTTP Request handler function. Is there one that I missed?

I attached what I wrote here http://drupal.org/files/issues/interface.js.txt and posted is as part of this issue http://drupal.org/node/101471.

--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.

 
 

Drupal is a registered trademark of Dries Buytaert.