Board Thread:Lua Help/@comment-1370845-20160914214042

Hey all,

Sorry if the title is confusing. I'm trying to set up a module which should be able to display icons in the right rail of the page. The right rail will use AddRailModule and should invoke a function of a Lua Module.

The goal is for a template, or different templates, to invoke a different function from the same Lua Module, to affect which icons are displayed in the page.

This Lua Module will have its own /data tables for the icons, and different functions. One function for one template should be able to display the icons together, in the right rail using AddRailModule, while the other function should be able to pass information to the template used in the right rail.

Is this something that can be done?

Thanks! 