No, this is not possible currently, because the skin variable is defined first, the skin is then loaded, and from that the various zones are defined and processed. So by the time the zones are being loaded, the skin must already be set.
Of course virtually anything should be possible... The easiest approach might be to create a custom function called "myBOLTmakepage()" modeled on library.php's makepage function. (Which has a built in hook for this). Basically you would add a line somewhere in the function to use some alternate mechanism for defining the skin. How would be up to you... Cheers, Dan On Sun, Sep 14, 2008 at 10:46 AM, jacmgr <[EMAIL PROTECTED]> wrote: > > That works as I said, but my understanding is I have to put that line > in my own config.php file, or a function. > > My objective is that if it is a normal page (page, action, code) that > can trigger the change to the $BOLTskin variable (or any other)? > something that can be put into the head of certain page whenere I want > to have the variable changed? > > (i.e. then a farm/pages won't depend on any custom config file) > > maybe I am not explaining. If not possible, no problem, I can easily > add a function to perform it, but didn't want to if there was some BW > trick I was missing. > > John > > > On Sep 14, 8:52 am, "The Editor" <[EMAIL PROTECTED]> wrote: >> Could you do something like this: >> >> if (isset($_GET['skin'])) $BOLTskin = $_GET['skin']; >> >> Then you just put in the url: p=some.page&skin=whatever >> >> Cheers, >> Dan >> >> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
