Hi Jared,
I need the HOW-TO steps on how I can add a custom block to Viart 2.8 that will also run PHP scripts within the custom block.
For example, if I had a php script that can do a sql query to the database and output some text, how would I include that inside a custom block?
I know how to use the CMS to add a custom block that displays static text- I just need to know how to do a custom block that can execute a php script.
It's not possible. Custom block can contain only HTML code. PHP scripts won't be executed.
In your situation it'll be better to develop an additional module with it's own script and template.
WBR,
ViArt Support Team