Thanks Dan. I have already have a slightly customised action.create, so I'm thinking of altering it further to (somehow) have a skin selector when creating a page... Then maybe storing that info in a similar manner to the way that read/write rights are stored (only for pages not using the default skin); then picking up the appropriate skin from there before the page is loaded.
Wonder if that is possible?? Thanks. Jan On Monday, 21 March 2016 19:00:22 UTC+2, Dan wrote: > > Hi Jan! > > Martin is correct. PHP is the best way to set the skin dynamically. It is > difficult to set the skin using information in the page, because the skin > is set before the page is loaded and its variables read. But if the > approach above doesn't work, I'm sure we can concoct something easily > enough. > > Cheers, > Dan > > On Mon, Mar 21, 2016 at 7:34 AM mz <tcc.p...@gmail.com <javascript:>> > wrote: > >> Simple solution: hardcode this in your config.php like >> >> if ($pageArray[0] == 'data') $BOLTskin = 'data'; >> >> = page groups with names starting with data will use skin data >> >> Maybe Dan provided a web hook for this. Since I never understood how to >> use web hooks, I keep the simple approach. >> >> Greetings, Martin >> >> -- >> You received this message because you are subscribed to the Google Groups >> "BoltWire" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to boltwire+u...@googlegroups.com <javascript:>. >> To post to this group, send email to bolt...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/boltwire. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.