Closed (fixed)
Project:
FriendList
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2008 at 10:12 UTC
Updated:
13 Mar 2009 at 07:50 UTC
Currently we are exploring integrating the Popups (http://drupal.org/project/popups) module. Initial behavior is working well. Need to iron out minor kinks. Like to see proper page reload and custom css injection.
To be clear, dependency is not needed, but once you see it...you will want it!
Regards,
Marius
Comments
Comment #1
mariusooms commentedI have to rethink the custom css injection. Probably not something friendlist should get involved with, since it would create inconsistencies for end users. If you'd like to style the modal popups, it should happen on a theme level using popups as responsible module, since it is...responsible. Also, it is very easy to disable...you just uninstall the popups module.
The page reload is explained by the popups maintainer like so:
That means that at this point we have integrated popups as much as is possible right now. If theme or admin features emerge, it will be from the popups module itself.
You can track progress on the ajax call responsible for reloading here: http://drupal.org/node/306921
I guess from this standpoint we can mark this issue fixed, Merc?
Marius
Comment #2
mercmobily commentedHi,
Well... the issue is not "fixed" because there is still a visible problem with the behaviour of the popups.
I want to leave it open because I want to see if there is a way, for us, to actually force the reload. That would be grand. Let's see what the maintainer says.
Bye!
Merc.
Comment #3
mercmobily commentedHi,
Postponed... since it doesn't actually depend on me.
I will mark it as "active" when/if things start happening.
Merc.
Comment #4
igorik commentedmaybe new module from merlinofchaos could be helpful for you...
http://drupal.org/project/ctools
For the moment, it includes the following tools:
Plugins -- tools to make it easy for modules to let other modules implement plugins from .inc files.
Exportables -- tools to make it easier for modules to have objects that live in database or live in code, such as 'default views'.
AJAX responder -- tools to make it easier for the server to handle AJAX requests and tell the client what to do with them.
Form tools -- tools to make it easier for forms to deal with AJAX.
Object caching -- tool to make it easier to edit an object across multiple page requests and cache the editing work.
Contexts -- the notion of wrapping objects in a unified wrapper and providing an API to create and accept these contexts as input.
Modal dialog -- tool to make it simple to put a form in a modal dialog.
Comment #5
mercmobily commentedHi,
Hummm
"Currently this module is in HEAVY development and is only ready for use by advanced developers. These APIs may change without warning. There are no releases."
Plus, the simplicity of "popups" is just unbeatable...
Merc.
Comment #6
mariusooms commentedNow fixed with the option class "popups-form-reload".
Regards,
Marius
Comment #7
mercmobily commentedHim
WOW... marius, does it all woek 1000000% OK???
Merc.
Comment #8
mariusooms commentedAdmittedly did not test extensively, but for our module, popups-form-reload is a better variable than popups and it seems to work just fine.
Regards,
Marius