lightbox/greybox external_plugin hook missing

Creating and modifying plugins.
Post Reply
Cynebeald
Regular
Posts: 10
Joined: Sun Jan 06, 2008 8:11 pm

lightbox/greybox external_plugin hook missing

Post by Cynebeald »

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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: lightbox/greybox external_plugin hook missing

Post by garvinhicking »

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
# 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/
Cynebeald
Regular
Posts: 10
Joined: Sun Jan 06, 2008 8:11 pm

Post by Cynebeald »

No, it doesn't. I just tried to freshly install the plugin via spartacus, and the .htaccess file isn't there (but I do see it in CVS, now that you mention it).
Post Reply