I have a problem using the greybox plugin. It relies on an iframe, which is supposed to be loaded from plugins/serendipity_event_lightbox/greybox/loader_frame.html?s=0 by the browser.
Unfortunately, the .htaccess rules prevent this from happening normally (and the main page was displayed in the greybox instead). The rule that affects this is
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
For now, I manually added a rewriterule to skip rewriting for the loader frame.
But from looking at the source, it seems that serendipity provides a special mechanism for this. Shouldn't the lightbox plugin implement an external_plugin hook to serve the contents of that file?
lightbox/greybox external_plugin hook missing
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: lightbox/greybox external_plugin hook missing
Hi!
Actually the plugin sh ould ship with a .htaccess file that disables Rewriteengine for this directory. Does it not exist for you?
Regards,
Garvin
Actually the plugin sh ould ship with a .htaccess file that disables Rewriteengine for this directory. Does it not exist for you?
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/