Would you be able to pull the value into code.skinvars when some
condition is true?

Like: "if (user condition) then code.skinvars pull sitetheme and
sitecolor vars from page A else from page B"

Greetings, Martin

On Feb 7, 3:26 am, jacmgr <[email protected]> wrote:
> In my config.php, I want to read some data vars from one page and
> write them to another page.
> Need to know how to do that for both data var and page vars.  I can
> read them, I don;t know how to write/save them in the php function.
>
> Example:
> I can get a data var "sitetheme" from a page this way:
> $myvar1 = BOLTvars("somepagename:sitetheme");    //data var
> $myvar2 = BOLTvars("somepagename::sitecolor");   //page var
>
> So now $myvar1 is equal to "BLUE" and $myvar2 is equal to "GREEN".
>
> QUESTION: on the line after that I want to put that value $myvar1 or
> $myvar2 into the page "code.skinvars" as a variable that replaces an
> existing skinvar named like this
> SITETHEME: red
>
> So the changed code.skinvar would now look like this:
> SITETHEME: BLUE
> SITECOLOR: GREEN
>
> Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
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