It should be nice to have a generic popup system like modalframe to handle the Ajax popups.

Comments

Michsk’s picture

i agree, the project page of modalframe also states that UR uses modalframe, but it doesn't.

markus_petrux’s picture

Being the author of the Modal Frame API, I would like to add a couple of comments here:

- The project page of the Modal Frame API has a reference to "Node Relationships", and not "User Relationships". Related issue in the Modal Frame API queue: #906590: User relationships using modalframe..?

- If you need to work with modal windows that are based on AJAX, then I would suggest using the jQuery UI Dialog plugin directly. The Modal Frame API is aimed to help doing this kind of jobs when the child window renders an Iframe, which is a bit more complex and not easy to work with using the jQuery UI Dialog plugin directly.

Michsk’s picture

Yes the first issue was wrong from my point. Using jQuery UI Dialog plugin is no option for me, i used it but it is a poor module and badly maintained. Modalframe is in my eyes much better. We also in my opinion do not need ajax to do this, iframe would work just as well.

sadist’s picture

Couldn't agree more.

I was searching for some answers and reason why UR is using it's own pop-ups and how can I change or use other popus, and I couldn't find any answer. And the best and nearest to my question is this thread.

It's very odd to have the default UR Popup in most of other social networking sites when they have a totally different way of styling it. So I hope that Alex could consider about this issue?

For my case, I prefer using Colorbox (because I am already using it), but I saw Popups API (Ajax Dialogs) and tried to figure out how can I use that instead.

YK85’s picture

subscribing

NathanM’s picture

+1 Subscribing

broncomania’s picture

+10

mrf’s picture

Status: Active » Closed (won't fix)

I'm a big fan of modal frame api, but as far as I know what we have in ur predates almost all of the options with the possible exception of lightbox.

At this stage I don't see a compelling reason to add an additional dependency to the 6.x branch. If someone wants to use core's modals for 7.x (this may have already happened) that would be the place to make these type of changes at this point.

As a side note modal frame api is really easy to work with and implementing your own custom solution with it probably wouldn't be too difficult.