lightbox/greybox external_plugin hook missing
Posted: Thu Jan 08, 2009 12:55 am
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?
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?