-
|
Hi, I was setting up a new instance of this from the docker image and my understanding is that custom themes should be placed in the I'm unsure how to proceed here. I've tried making those files empty php files, but then the errors eventually bubbles up to a file I don't have access to: I'm guessing I should have access to the Shimmie2 namespace in my theme files, but I don't, hence the error and not being able to find the class. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Can you share the files? It's difficult to see what's wrong when I can't see anything 😅 Broadly speaking, looking at existing theme files should show the format that they need (namespace settings etc) - also note that there were a bunch of changes between 2.11 and the work-in-progress 2.12, so be sure to copy from the right version |
Beta Was this translation helpful? Give feedback.
-
|
I actually just copied the files from the main branch in https://github.com/shish/shimmie2/tree/main/themes/default: page.class.php, which looks like this and style.css, which I won't paste since it should just be visual. I also tried just making it empty, as in Are there any other files you want to look at? I haven't actually done that much yet besides setting up via docker-compose. None of the other folders have anything else additional in them. /app/db has the usual db stuff which I haven't touched, and /app/data has a cache and config folder, next to an empty index.php. I can also post the docker-compose.yaml file if that helps. |
Beta Was this translation helpful? Give feedback.
-
|
You haven't mentioned what version you're using, but seeing |
Beta Was this translation helpful? Give feedback.
-
|
I am indeed on 2.11.5. I'll take a look at those themes then. Thanks! |
Beta Was this translation helpful? Give feedback.
You haven't mentioned what version you're using, but seeing
/app/core/util.phpmakes me think that it's 2.11 or earlier -- so you'd want to be using the 2.11 custom themes as a reference, eg https://github.com/shish/shimmie2/tree/branch-2.11/themes/lite