Clogger News
Status: Alpha
Brought to you by:
phaedo
I found out what was happening to the post templates. When I output the contents of the post template (which contains IT variables wrapped in curly braces), I think that PHP tried to evaluate the contents of the variable (PHP evaluates stuff within curly braces). This causes the variables to disappear and then when you update the config they're gone for real ;)
The current solution is to replace curly braces with '(%' and ')%' before dumping it into the textarea and then converting them back to curly braces before putting the data back into the DB. Users for now will have to use variables like
(%VARIABLE_ONE%)
until I can figure out how to get PHP to not evaluate my stuff within curly braces!