activate more than one "logical theme" #4350

Closed
opened 2026-02-05 08:38:13 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @meikestone on GitHub (Dec 5, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

I like the use more than one logical theme. How is it possible to activate them in the .env - file? It seems, that via the APP_THEME variable only one can be activated?!
I've created the folders under bookstack/themes/theme_name/ and inside, the function.php
Every theme well on its own (if activated via APP_THEME), but how to activate two or more logical themes at the same time?

Exact BookStack Version

v23.10.2

Log Content

No response

Hosting Environment

debian 12

Originally created by @meikestone on GitHub (Dec 5, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario I like the use more than one logical theme. How is it possible to activate them in the .env - file? It seems, that via the APP_THEME variable only one can be activated?! I've created the folders under bookstack/themes/theme_name/ and inside, the function.php Every theme well on its own (if activated via APP_THEME), but how to activate two or more logical themes at the same time? ### Exact BookStack Version v23.10.2 ### Log Content _No response_ ### Hosting Environment debian 12
OVERLORD added the 🐕 Support label 2026-02-05 08:38:13 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 5, 2023):

Hi @meikestone,

It seems, that via the APP_THEME variable only one can be activated?!

Yeah, that's correct, only one theme folder can be active at a time.
Currently you'd need to merge the files together where desired, or get more inventive and attempt to load other folders/files from your main theme (again, no official methods provided for this).

@ssddanbrown commented on GitHub (Dec 5, 2023): Hi @meikestone, > It seems, that via the APP_THEME variable only one can be activated?! Yeah, that's correct, only one theme folder can be active at a time. Currently you'd need to merge the files together where desired, or get more inventive and attempt to load other folders/files from your main theme (again, no official methods provided for this).
Author
Owner

@meikestone commented on GitHub (Dec 5, 2023):

Ok, thanks for fast answer ..
Then I'll investigate this a little further!

@meikestone commented on GitHub (Dec 5, 2023): Ok, thanks for fast answer .. Then I'll investigate this a little further!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4350