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 9:27AM
    You could possibly put it in as a string and then json_decode.
Sign In or Register to comment.