One of the many things I miss in Tridion 2013 SP1 is the ability to write VBScript code combined with Compound Templates. Tridion was kind enough to provide the legacy pack for us ‘hardcore hackers’ who have our 10,000 line VBScript functions library perfected over the years in VBScript. However, when we want to move to Compound Template programming, we’re left out in the cold with our VBScript skills and have to suffer with DWT, Razor, XSLT or C# coding. Who wants to do that? If we want to use the OOTB TBBs provided by Tridion to enable XPM or publish to FredHopper (for SmartTarget) the best way is to do this with a Compound Template. But, Compound Templating and VBScript templates are not compatible – until now.
Using the VBScript Mediator we’ll have the best of both worlds – the fluency of the VBScript language and TOM API with the power of Compound Template modules.
First, if you don’t have it already, you’ll want to download the great VbsEdit program. They have a really nice walkthrough on their homepage of all the features.
Next, you might want to download the VBScript Reference guide in case you’ve forgotten some of the commands in VBScript, such as setting an array to nothing.
Finally, go grab the code for the VBScript Mediator and start to have fun again with programming templates!
* This is an April Fools Joke! VBScript in 2015….really?!