-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Image - loading an additional PHP file #5445
Comments
Hi @kristiandg, The logical theme system allows back-end extension of app code: There are some events to register custom routes as shown here: |
The recent discussion in #5430 also has some potentially relevant examples. |
Well, after spending the past 5 hours on this, I'm officially throwing in the towel. I think I was on the right track with what I'm trying to do, I'm just not a coder really so already I've got one hand tied behind my back. lol Is there a place where I can post a little bounty to have someone write what I'm wanting? |
What are you trying to do? Did you get the theme system running/active? |
I'm pretty sure the Theme System is now in play because I accidentally forgot the PHP header at one point in my functions file, and that was now appearing as raw text at the top of the page (confirming it was reading that theme and processing it), and at random points during testing I'd do something to the file that would make the page formatting get really funky. Ok, please don't make fun - as I said I'm not a coder. I was using ChatGPT to describe what I was trying to do, and I was relatively impressed (again, NOT a coder, so maybe easily impressed) at the various files it spun for me, but after a few hours, I ended up hitting a wall of going in circles with it during the diagnostics of trying to figure out the failure... What I'm trying to do is this (and it's in 2 parts):
Once we have that sub_reseller value, we then retrieve the image from this assembled URL, inserting the sub_reseller's value as part of the image retrieval query:
What I deployed, did recognize the markdown placeholder, but it ended up just displaying the raw text. Dynamic Video Watermark
I'm not even sure if the Video Watermark is possible. I mean, I know it's possible in general, but not sure BookStack is capable of that one, but I sure was going to try. lol |
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Good afternoon. I'm trying to add a bit of functionality that needs to be a combination of expansion code and a back-end "custom controller" (in theory, stored at /app/Http/Controllers). Is there any way to add my module, or store it elsewhere and tell BookStack to include it on load? Thanks.
Exact BookStack Version
v24.12.1
Log Content
n/a
Hosting Environment
Azure App Service (Docker Image) with Azure Storage mounted for off-board media content storage...
The text was updated successfully, but these errors were encountered: