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.

General Questions /

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

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

Back Button in ModelAdmin


Reply


4 Posts   613 Views

Avatar
swaiba

Forum Moderator, 1804 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, 1804 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, 1804 Posts

28 March 2012 at 9:30pm

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