XF 2.1 Basic Q: Can you pass the name of a Notice to the template it is running?


Active member
I'm renovating some of my regular notices to be a bit less error-prone by turning them into templates called within a notice.

This lets me turn a bit of repetitive copy and pasting into a single variable.

My question is, can the name of the Notice be accessed from the embedded template?

For this particular set of five notices, this would make it easier to run one larger template and output content based on the name of the Notice calling it.
Top Bottom