php in a template

I was wondering if I could include php somehow into a template.
I have a template that I am using as a dashboard/landing when people log into my application. I would like to add php to my template so I can determine the logged in users role and display different content based on the role.
Thanks for help in advance!
I have a template that I am using as a dashboard/landing when people log into my application. I would like to add php to my template so I can determine the logged in users role and display different content based on the role.
- Code: Select all
{use_macro file="Dataface_Main_Template.html"}
{fill_slot name="main_column"}
PHP HERE
{/fill_slot}
{/use_macro}
Thanks for help in advance!