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.

Customising the CMS /

FormAction in CMS


Go to End
Reply


21 Posts   6465 Views

Avatar
dio5

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.

LeftAndMain::ForceReload();

Avatar
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?

Avatar
fridolin24

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() {
top.location.href="/cms/admin";
}

Avatar
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 FF3.....it seems like that approach hast to be impossible unless you can set some sort of "if alredy reloaded dont reload agaon" type clause.

Avatar
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