Problems with redirection in frontend after close/cancel when SEF is enabled #908
Unanswered
fred-the-coder
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Did you take a look at Llewellyn's explanation of the routing that happens related to the buttons? : I know it doesn't specifically explain your issue, but it did help give me an extremely better understanding how the routing works (or doesn't). And my guess is that the SEF issue is in some way related. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I saw many discussions around redirection, but did not find a solution to my problem...
My problem is most propably not related to JCB but I try my question here...
I have a JCB component that manages records.
On the web site I have a menu item that targets the list view of the records (
view=records
), let say menu item is Itemid=1.I have another menu item that targets the edit view of a record (to be able to create one record):
view=record&layout=edit
, let say menu item is Itemid=2.In this edit view I have the standard buttons SAVE/SAVE&CLOSE/SAVE&NEW/CANCEL.
In the edit view, to create a record, I have two differents behaviours when I clic on SAVE&CLOSE (or CANCEL) button:
view=records&Itemid=2
. Where Itemid=2 is the menu item to the edit view.../add-a-record
and I am redirected to the "same" edit view/add-a-record
I would like to be redirected to the list view when clicking on SAVE&CLOSE or CANCEL, as when SEF is disabled...
I have used the debugger to figure out why... but I find that a "return URL" may has to be set...and there I may try #816 or #870. But why? as it is working as I expect when SEF is disabled...
Any clue on this?
Thank you for your help!
N.B.: I saw that com_content Joomla component is now providing a Submission/Cancel Redirect value as option in menu items...
Beta Was this translation helpful? Give feedback.
All reactions