Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Passing Array as a value for site variable

edited August 2017 in Installation
Hi Admin,

I have successfully passed the global variable JS and CSS as array from the global variable file. I am trying to shift the file dependent variables to database and using the site variables section of the admin panel to do the same.

The question here is how can I assign the JS named site variable an array value? Is it possible, if not what are the other ways around this?

Thanks

Comments

  • edited 6:48PM
    You could possibly put it in as a string and then json_decode.
Sign In or Register to comment.