Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
ccberries
ccberries
has anyone called session variables (in this case affiliate_af) in the custom blocks php code?
 
I had asked viart what the variable was and the correct way to access it...
 
but they ony sent back the variable name.
 
I've already turned on the allow php to run in custom blocks..
 
ccberries
ccberries
here is an example of sample php code that worked...
 
 
if ( get_session('session_af') != 'sas' )
 
i wanted to put in all the tags needed with the sample code but the above is the key to making it work (the forum will not let me put in all the commands)
Last modified: 27 Nov 2008 1:44 PM