Inserting a variable into posts, message_macros


I'm attempting to extend Posts, in order to add a variable into posts, more specifically inside the message_macros template.

I originally thought I needed to extend the show function in XF/Pub/Controller/Posts, however, it doesn't seem to be the case.

Could someone potentially point me in the right direction to add variables into message_macros?

I've managed to get it working for profiles, just need to do it for posts now.

Similar threads

Similar threads