Hi, I am the co-maintainer of friendlist. We are currently trying to integrate with Popups, since it would be perfect for as we have many, many, confirmation pages/screens. It is working as expected apart from the reload which seems to be happening, but not really.

Because it is very hard to explain in words, I'm attaching 5 images as a story board :) In this scenario we will add a fan!

Picture 1 - Initial profile - no fan yet
Picture 2 - Popup message screen
Picture 3 - Popup Confirmation screen (Note that you can also see the confirmation in the background page)
picture 4 - Profile page with confirmation message in green, but fans status is NOT updated
picture 5 - Profile page after manual reload...everything is peachy now.

What is strange is that indeed the page gets reloaded as depicted by the confirmation message in the green box, but fan status is not updated until a new refresh as seen in picture 5. Ideally we'd like to combine picture 4 and 5, which we thought should be the case by default. Can you explain this behavior while we scratch our head?

Regards,

Marius

Comments

mercmobily’s picture

Hi,

Subscribe!
Link to issue on FriendList: #314767: Improve popups support

Merc.

mariusooms’s picture

Ah...I just found this is a duplicate where it is being explained. I wonder if we can approach a fix from our module site to load in content...at least the action links.

Duplicate: http://drupal.org/node/306921

Regards,

Marius

mercmobily’s picture

Hi,

To the maintainer: this is pretty much one of the last things that is stopping us from releasing FriendList 1.0 :-D
I don't suppose there's something we can do "manually" to get it refresh the origin page?

Bye!

Merc.

starbow’s picture

Not yet, but that would be a pretty easy feature to add.
I also am planning to add a feature where you could give an array of elements on the page to swap out.
But I don't think anything much is going to happen in any of my issue queues until after I recover from putting on the Bay Area Drupal Camp (Oct 11th & 12th)

mercmobily’s picture

Hi,

Starbow: an array of elements to swap out would be _the_ way to go for us.
Thanks for letting us know about the time delay -- we'll release then, no worries :-D

Thanks for organising the BADC!!!

Merc.

starbow’s picture

Status: Active » Postponed (maintainer needs more info)

Popups RC1 is coming out and it has the update list. It is controlled with the targetSelector property, which is a hash of jQuery Selectors. You can see an example in the code for the popups/test page. Give it a try and let me know if it solves your problem.

mercmobily’s picture

Hi,

Thank you again for this module.
I will give it a go. I am not very good at Ajax, and might find all this very hard... but I will try :-D

Merc.

starbow’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.