In a project I have bought an extension which is using widgets and their short-codes. I have to extract the parameters from the widget short-code so that I can use them in my module for mapping some block IDs. How can I extract the parameters from the widget short-code string into an array in the following?
{{block type="cms/block" block_id="footer_links" template="ABC/roam/dp.phtml"}}
This took me a while for searching how the CMS content area gets the widget short-codes working. Here is how I decoded the short-code. I have made a helper for this.
Hope some day this might help some one.