You may find yourself in a situation where you need to access data that a module or the CMS Made Simple core has set a variable for use in Smarty, but has not made it available via a function call.
This recipe shows you how your User-Defined Tag can access variables that have been assigned to Smarty, but which may not be easily available via other means.
For this recipe, you will need access to your site's Administration area with permission to "Modify User-Defined Tags" and "Manage All Content". This recipe also assumes that you have the News module installed and used by your page template. It will help if you have a few News articles published.