popup window - where is it?

Found a bug? Tell us!!
Post Reply
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

popup window - where is it?

Post by costa »

hello,

after switching to one of latest nighties, i just found a rather annoing problem - my popup windows (one of methods for inserting media to the page) are not working anymore. an example could be found here. before the instalation of nightly version the movie was playing in popup window. now it does not work anymore...
"everything is under control" - kasparov demo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: popup window - where is it?

Post by garvinhicking »

Hi!

Uhm, we need more information. How did those popup windows work? Using a plugin? I don't understand where to look. :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

sure garv, here we go:

"show as popup window" is a feature in media selector, when inserting graphics or other content. you have an ability to show picture or movie via javascript generated popup window. a cool stuff for showing movies :). so, it does not work after my latest update.
"everything is under control" - kasparov demo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

When you insert the image, do you check the radio button

"I want to display it as a link to this url:", the input field next to it is inserted and below you choose "Popup window (via JavaScript, adaptive size)" as the option?

Because that works for me. :-)

Make sure you check the option "I want to display it as a link". Without that option the select dropdown has no effect.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

it's exactly what i'm doing garv :)

i added a lot of movies with that option on my blog and it worked perfectly. after latest upgrade to nigtly s9y_200705252342.tar.gz it stopped to work. not even the entries which were working good previously are working good now :/. OK i'll upgrade tonight to the very latest nightly build and will see what happens. it does not work under safari, firefox and opera (all under macosx) and firefox, IE7 and opera under windows.
"everything is under control" - kasparov demo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

BUT the entries that previously worked are not touched when you upgrade serendipity! Everything inserted via the media manager gets saved fixed in the entries. When you upgrade s9y, it does not touch the old entries!

That means - I think if you backgrade to your previous nightly, you will have the same issue?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

the backuped version works just great and i can see my stupid movie in a beatiful popup window :). maybe this will give you a clue. first - all code related with this movie form my older serendipity version:

Code: Select all

<div class="serendipity_imageComment_center" style="width: 352px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://www.costa.user.icpnet.pl/mov/2007.05.19-huncwot.mov' onclick="F1 = window.open('http://www.costa.user.icpnet.pl/mov/2007.05.19-huncwot.mov','Zoom','height=280,width=352,top=348,left=464,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes'); return false;"><!-- s9ymdb:745 --><img width='352' height='264'  src="/uploads/mov/2007.05.19-huncwot-thumb.jpg" alt="" /></a></div><div class="serendipity_imageComment_txt">Tresujemy z Majk? Huncwota. Ten kot nie jest taki g?upi!</div></div>
and now html code after upgrade (this entry was NOT edited after upgrade, nothing was done with it):

Code: Select all

<div class="serendipity_imageComment_center" style="width: 352px"><div class="serendipity_imageComment_img"><a onclick="javascript:urchinTracker('/extlink/www.costa.user.icpnet.pl/mov/2007.05.19-huncwot.mov');" class='serendipity_image_link' href='http://www.costa.user.icpnet.pl/mov/2007.05.19-huncwot.mov' onclick="F1 = window.open('http://www.costa.user.icpnet.pl/mov/2007.05.19-huncwot.mov','Zoom','height=280,width=352,top=348,left=464,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes'); return false;"><!-- s9ymdb:745 --><img width='352' height='264'  src="/uploads/mov/2007.05.19-huncwot-thumb.jpg" alt="" /></a></div><div class="serendipity_imageComment_txt">Tresujemy z Majk? Huncwota. Ten kot nie jest taki g?upi!</div></div>
do you see the difference? what the hell is this:

Code: Select all

onclick="javascript:urchinTracker('/extlink/www.costa.user.icpnet.pl/mov/2007.05.19-huncwot.mov');"
where dit it came from? what is urchinTracker? why such a difference between those two listings of the same entry?
"everything is under control" - kasparov demo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

urchinTracker comes from Google analytics.

Check the event plugins you are using. Maybe a bugfix now enables those plugins properly?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

as always - BINGO
the problem was caused by event plugin "google analytics". after removing the plugin, there is no more problem with popup windows.

THANKS!
"everything is under control" - kasparov demo
Post Reply