Graybox Plugin for S9y
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Might be related to a wrong configured URL or interferring mod_rewrite. Show us the URL to that brandnew blog, please?
Also tell us the version number of the boxplugin you use.
Best regards,
Garvin
Might be related to a wrong configured URL or interferring mod_rewrite. Show us the URL to that brandnew blog, please?
Also tell us the version number of the boxplugin you use.
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/
# 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/
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
In your entry you seem to combine the option "open in new window" by the media manager and graybox.
That doesn't work.
If you use the graybox plugin, you can NOT select the option to open a link in a new window, the graybox does that automatically and what the media manager inserts to the image will undo that graybox target location.
Best regards,
Garvin
In your entry you seem to combine the option "open in new window" by the media manager and graybox.
That doesn't work.
If you use the graybox plugin, you can NOT select the option to open a link in a new window, the graybox does that automatically and what the media manager inserts to the image will undo that graybox target location.
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/
# 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/
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Hi,garvinhicking wrote:Hi!
In your entry you seem to combine the option "open in new window" by the media manager and graybox.
That doesn't work.
If you use the graybox plugin, you can NOT select the option to open a link in a new window, the graybox does that automatically and what the media manager inserts to the image will undo that graybox target location.
Best regards,
Garvin
i don't open a new window. I use this plugin like i use it on other site. If i switch back to Lightbox, it works. Just with Graybox it does not work. I bet it has something to do with Graybox implementation (but i don't bet much against you)
Regards, harald
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
But how do you exactly insert the image, which options in the media selector do you check?
Inside your HTML, there's an "onclick: F1 =window.open(...)" code. This is the troublemaker. It is not allowed to be there.
Lightbox opperates differently than Graybox and removes existing onclick handlers, you cannot compare them two.
Best regards,
Garvin
But how do you exactly insert the image, which options in the media selector do you check?
Inside your HTML, there's an "onclick: F1 =window.open(...)" code. This is the troublemaker. It is not allowed to be there.
Lightbox opperates differently than Graybox and removes existing onclick handlers, you cannot compare them two.
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/
# 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/
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
This is a screenshot of how i insert the code.
And this produces the following code:
I have to select Popup-Fenster, right? Even if i select Ziel: "keine" it does not work. This produces the following code:
On both tries i've got the mainpage/404 where the pictures should be.
Thanks for your time.
And this produces the following code:
Code: Select all
<a class='serendipity_image_link' href='/uploads/Produktbilder/H-20021-899.jpg' onclick="F1 = window.open('/uploads/Produktbilder/H-20021-899.jpg','Zoom','height=515,width=515,top=262,left=390,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes'); return false;"><!-- s9ymdb:1 --><img width='200' height='200' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/Produktbilder/H-20021-899._x.jpg" alt="" /></a>
Code: Select all
<a class='serendipity_image_link' href='/uploads/Produktbilder/H-20021-899.jpg'><!-- s9ymdb:1 --><img width='200' height='200' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/Produktbilder/H-20021-899._x.jpg" alt="" /></a>
Thanks for your time.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Best regards,
Garvin
Yes, you must set it to "none". Can you show us the URL to an example where you have it like that?I have to select Popup-Fenster, right? Even if i select Ziel: "keine" it does not work. This produces the following code:
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/
# 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/
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Yes, it is still this url
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I just spent half an hour on this, and the URL is definitely passed correctly to the Greybox "show" function.
There's nothing wrong, so it must be the greybox problem, maybe you can pass your URL on to that developer and ask him if he knows of that problem?
Best regards,
Garvin
I just spent half an hour on this, and the URL is definitely passed correctly to the Greybox "show" function.
There's nothing wrong, so it must be the greybox problem, maybe you can pass your URL on to that developer and ask him if he knows of that problem?
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Ah, thanks to firebug I saw a problem.
Graybox tries to load:
http://blog.diekellnerboerse.de/plugins ... frame.html
Do you have that file? Maybe you need to add a .htaccess with "RewriteEngine off" to that directory?
Regards,
Garvin
Ah, thanks to firebug I saw a problem.
Graybox tries to load:
http://blog.diekellnerboerse.de/plugins ... frame.html
Do you have that file? Maybe you need to add a .htaccess with "RewriteEngine off" to that directory?
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/
# 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/
-
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Wow, amazing work A .htaccess with RewriteEngine off solved the problem, but this should be added to the plugin for all usersgarvinhicking wrote:Hi!
Ah, thanks to firebug I saw a problem.
Graybox tries to load:
http://blog.diekellnerboerse.de/plugins ... frame.html
Do you have that file? Maybe you need to add a .htaccess with "RewriteEngine off" to that directory?
I'll contact the author and post a link to this thread.
Thanks for your support. This one was really tricky, eh?
PS: Oh my god... (Autor: Thomas Nesges, Andy Hopkins, Lokesh Dhakar, Cody Lindley, Stephan Manske; version: 1.3) I hope i'll find one of them.
Good Evening,
All I basically did was make the graybox pluginable to S9y. But I see no problem in adding the .htaccess file in. I do have one at the root of my plugin's folder to dis-able rewrites.
Just wondering if this is a good default to have ?
All I basically did was make the graybox pluginable to S9y. But I see no problem in adding the .htaccess file in. I do have one at the root of my plugin's folder to dis-able rewrites.
Just wondering if this is a good default to have ?
Serendipity - Site, finished
Mine that is ... so lots of nonsensical Stuff
Mine that is ... so lots of nonsensical Stuff