Sticky URL parameters (for keeping iframe/theme settings when navigating) #4694

Closed
opened 2026-02-05 09:11:22 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @cepm-nate on GitHub (Apr 22, 2024).

Describe the feature you'd like

I'd like the ability to specify names of URL parameters, that if found in the current page request, will show up in all URLS that bookstack generates for internal content.

Describe the benefits this would bring to existing BookStack users

There exists a great iframe and theme hack at https://www.bookstackapp.com/hacks/iframe-specific-tweaks/, but all the generated links do not contain the iframe=true and theme=dark parameters. Thus, when a user taps on a link within the iframe, the internal page loads the new URL without the theme override, and loses the iframe formatting (headers and other info show back up).

Adding sticky URL parameters would keep the user experience smooth when browsing within an iframe.

Can the goal of this request already be achieved via other means?

I don't think so. Possibly with Logical Theme? There would need to be some SESSION interaction. I'll investigate, and close this feature request if a solution is found.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

Originally created by @cepm-nate on GitHub (Apr 22, 2024). ### Describe the feature you'd like I'd like the ability to specify names of URL parameters, that if found in the current page request, will show up in all URLS that bookstack generates for internal content. ### Describe the benefits this would bring to existing BookStack users There exists a great iframe and theme hack at https://www.bookstackapp.com/hacks/iframe-specific-tweaks/, but all the generated links do not contain the iframe=true and theme=dark parameters. Thus, when a user taps on a link within the iframe, the internal page loads the new URL without the theme override, and loses the iframe formatting (headers and other info show back up). Adding sticky URL parameters would keep the user experience smooth when browsing within an iframe. ### Can the goal of this request already be achieved via other means? I don't think so. Possibly with Logical Theme? There would need to be some SESSION interaction. I'll investigate, and close this feature request if a solution is found. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? Under 3 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 09:11:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4694