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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Back Button in ModelAdmin


Go to End


4 Posts   1053 Views

Avatar
swaiba

Forum Moderator, 1899 Posts

9 March 2012 at 5:54am

Hi,

I usually disable the back button in model admin because it doens't always work. However a client has seen this and is very keen to keep it (they have also noticed it doesn't always work). Is there a known patch for this or any information someone could favour me with to get it consistently working please?

Barry

Avatar
swaiba

Forum Moderator, 1899 Posts

28 March 2012 at 7:58pm

*bump*

Avatar
Ingo

Forum Moderator, 801 Posts

28 March 2012 at 9:13pm

hey Barry, SS3 uses HTML pushState for this, in ModelAdmin and other sections.
The back button in the UI in this case is the same as the back button on the browser,
both know how to partially load an UI via Ajax. That's been rewritten from scratch,
so not portable to 2.4/2.5 without massive effort unfortunately.

Avatar
swaiba

Forum Moderator, 1899 Posts

28 March 2012 at 9:30pm

Thanks Ingo - I guess I'll need to upgrade them asap