New Feature: Allow side blocks to contain inline @formulas
Tags: Side block New Features
Existing version of Blogsphere allow for HTML and inline HTML between double-square brackets. I enhanced this to allow any kind of @formulas between $(Formula) and $(/Formula) tags. It may look like this;

This code is executed when the side block is generated, and the result may look like this;

This allows for pretty dynamic side blocks - especially when combined with the Enhancement: Added the possibility to have a sideblock tied to certain permalink ids enhancement.
This can of course be further enhanced to allow other inline code to execute, such as LotusScript via the Execute function (perhaps the tags should be $(LotusScript) and $(/LotusScript)?!)
Existing version of Blogsphere allow for HTML and inline HTML between double-square brackets. I enhanced this to allow any kind of @formulas between $(Formula) and $(/Formula) tags. It may look like this;
This code is executed when the side block is generated, and the result may look like this;
This allows for pretty dynamic side blocks - especially when combined with the Enhancement: Added the possibility to have a sideblock tied to certain permalink ids enhancement.
This can of course be further enhanced to allow other inline code to execute, such as LotusScript via the Execute function (perhaps the tags should be $(LotusScript) and $(/LotusScript)?!)
This new feature involved the following changes. First I added the ReplaceFormulas-function to the script library RenderEngine.Blog. The ReplaceFormulas function look like this;
Then I use this function in the function RenderEngineSideBlocks, like this;
You can see a demonstration of the inline formulas support on this page!
Note; I initially wanted to have inline formula support in blog-entries and static page content itself., but I haven't figured out yet how to best implement this.
