I am offering a link to my users that, if they are not logged in yet, is supposed to send them to the login page and then onwards to the target.
This is how I store the target page: <cms:set twirl_redirect="<cms:show k_page_link />#comments" scope='global' />
When I show this on the source page to test it, all is fine: it was stored and is shown.
<cms:show twirl_redirect /> shows: "https://www.and so on"
However, on the login page, which is supposed to redirect the user to it, it is gone.
<cms:show twirl_redirect /> shows ""
What am I doing wrong?
This is how I store the target page: <cms:set twirl_redirect="<cms:show k_page_link />#comments" scope='global' />
When I show this on the source page to test it, all is fine: it was stored and is shown.
<cms:show twirl_redirect /> shows: "https://www.and so on"
However, on the login page, which is supposed to redirect the user to it, it is gone.
<cms:show twirl_redirect /> shows ""
What am I doing wrong?