Categories
General

Back to Radio 7 –

Back to Radio 7 – converting templates

Just to complete what I wrote in my last post, I’ll add that converting templates involves changing Radio 8’s <% foo %> macros to old Radio 7 &#0123; foo &#0125; macros (in curly braces). You lose all the macros that invoke Radio 8 scripts (all the macros of the form radio.weblog.doSomethingCool()). Looks like I should get back to trying to write a version of the nice drawCalender script (the output of which can still be seen in my category pages) to PHP.

Oh, and when converting the item template (itemTemplate?), you should note that Radio 7 uses the variable text where Radio 8 uses itemText. Compare your Radio 8 templates (which are in the Radio 8 www folder, in files of the form #xxxTemplate) to the Radio 7 templates under myUserLandData.themes (look at the default theme for a simple reference of what the Macro names are.

That’s basically it.