Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

FormAction in CMS

Go to End

21 Posts   7880 Views


Community Member, 501 Posts

10 February 2009 at 12:40am

Have a look at LeftAndMain::ForceReload, I think this is what you want - i.e refreshing the page in the cms.


Carbon Crayon

Community Member, 598 Posts

10 February 2009 at 1:53am

Hey Dio, thanks for the reply. I can't get it to respond to that call. I'm putting it in the iframe controller, just before the Director::redirect, is that the correct place?


Community Member, 5 Posts

26 February 2009 at 1:03am

Hallo aram,

"This does refresh the page.........over and over and over infinately Unfortunatly because the form is in an Iframe when you refresh the page like this is also refreshes the iframe which then refreshes the page and so on. unless I missed some code in there?"

I have seen this Problem now. It's only with Firefox 3. I have solved it with:

function refresh() {

Carbon Crayon

Community Member, 598 Posts

27 February 2009 at 1:47pm

Hi Fridolin

I still seem to get an infinite refresh in both IE7 and seems like that approach hast to be impossible unless you can set some sort of "if alredy reloaded dont reload agaon" type clause.

Capt. Morgan

Community Member, 30 Posts

29 April 2009 at 11:25pm

Edited: 29/04/2009 11:26pm

EDIT: sry, posted the wrong thread

Go to Top