Tuesday, 13 April 2010

Smarty variables in CMSMadeSimple

Smarty (template system) within CMSMadeSimple lets you set and retrieve variables WITHIN THE HEAD of a document. But try reading that variable after the /head tag and the value has gone!

Re-assign them after the body tag,  and then you can read them elsewhere in body - but there doesn't seem to be a ready way to transmit values from head to body

Even assigning a php variable doesn't get over the problem.