Opening links inside a drawer/off-canvas #203
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there
Im trying to open links inside an off-canvas drawer (like https://getuikit.com/docs/offcanvas).
Im doing this by linking to the #off-canvas and calling pjax via onclick script (ugly hack but its working).
However, i cant figure out how to redirect links and subpages. They should not be accessible on their own, but via pjax from the root website.
Does anyone got an idea on how to accomplish this?
I have put a redirect header on these pages to direct the user back to the root, but havent figured out how to pass the url into pjax there...