Page 1 of 1

lightbox/greybox external_plugin hook missing

Posted: Thu Jan 08, 2009 12:55 am
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?

Re: lightbox/greybox external_plugin hook missing

Posted: Thu Jan 08, 2009 2:15 pm
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

Posted: Thu Jan 08, 2009 2:48 pm
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).