XenForo str_replace(array) Not Working as Expected with CSS File

D

Digital Jedi

Guest
I don't actually know where any thread goes in this forum. 😶

Is this Stack Exchange post example still possible? I've actually implemented it and the results have been...buggy.

Alternatively you create the base .css file and swap in the parameters using string_replace or something similar. I guess you will want to do multiple replacements at once, so see the 'strtr' function, its basically a string replace but takes in an array of key value pairs as replacement tokens and values...
Click to expand...

Read more

Continue reading...