Hi Blues,

Sorry for not getting back sooner. I have been traveling and busy with
various projects. However, I think I have a few solutions for you.

1) You were right that site.config should be called through
BOLTloadpage, rather than directly. That has been fixed. It actually
simplifies the code a good bit. It did require a bit of tweaking to
get the BOLTloadpage function to work right as it relies on
site.config values itself for a point or two, but I think it is
working now.

(I should note, you will have problems if you try to use site.folders
to reset where site pages are stored...).

2) Because BOLTloadpage is used so early in the process (I need
site.config to control how and which other scripts are loaded), I have
no obvious way to insert a custom myBOLTloadpage function as a normal
plugin. But from my tests, you can define the function in index.php
before calling engine.php and it seems to work. You can't use it
there, but you can define it.

I worked up a quirky little function, copied it to index.php and it
works just as expected. You will need to wait for the next release,
hopefully later today, however. It will have several other small under
the hood kinds of changes as well.

Cheers,
Dan


On Mon, Aug 23, 2010 at 6:55 AM, blues <[email protected]> wrote:
> Thanks for the suggestions.
> I liked more the idea to add it to $BOLTscripts, but incredibly it's
> still too late. The original BOLTloadpage was already called a couple
> of times for the main zone and auth pages.
> So i added it at the beginning of engine.php and after a lot of hair
> pulling it seems to work now.
> I really hope in a core solution for the plugins. :)
> The basic idea for the fix is that page processing shouldn't start
> until the core engine and plugins are fully set-up.
>
> blues

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to