XF 2.2 Pass the flash message from redirect, to page or controller

Dannymh

Active member
Hi,

I have worked out most of the kinks with what I was doing and one of the ways I have as an option to manage things is to flash the message in the redirect and parse additional params in the array.
What I want to be able to do however is see if there is a way to parse the message that is flashed on to the receiving redirected page without having to explicitly include the message as a param.

My current workarounf is to parse a message ID in the params and then use that ID to grab the message and do what I need with it, like display it in a different way.

What I am doing currently is

A widget of sorts inside a thread
adds the details, does its calculations
redirects to the thread

Failing that, is there a way to instead of returning a redirect instead say return reloadview or something similar
 
Top Bottom