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 On Sat, Sep 13, 2008 at 11:43 AM, jacmgr <[EMAIL PROTECTED]> wrote: > > Is it possible to create an action that would set a config variable to > a temporary value only for the current page? > > i.e. p=somepage&action=newskin > > and the action does something equivalent to > $BOLTskin='newskin' > > I created a page code.default.newskin and I want it used only on the > pages that I put &action=newskin > > I do now how to do this easily by putting in my toolbox/config.php > simply this line: > > if($_GET['action'] == 'newskin') $BOLTskin = 'newskin'; > > and it all works fine. BUT I WANT TO BE ABLE TO DO THIS WITHOUT > HAVEING A CUSTOM config or function in config or plugin. > > Any ideas? > > John > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
