I know there are a couple of posts on theme inheritance and the troubles most of us are running into.
My problem seems similar, but I have not found a solution to it; it refers specifically to the knowledge base theme / skeleton from @Perlkonig:
The thing is the following: after setting up the new theme, I know it works (speaking in general terms), because for example overrides in a custom.css are working and the HTML sourcecode shows that the custom.css file is loaded from the location of the new theme.
However, it seems that settings are not respected / overridden. I know I shall copy them from the original
knowledge-base.yaml to the new
newtheme.yaml and adding at the end the streams definitions as detailed in the documentation.
Currently, my file looks like this (being
opb at the end of the file the name of the new theme):
enabled: true dropdown: enabled: true params: articles: root: /home # the route where the articles themselves live blacklist: ['scratch'] # list of categories to ignore show: date: true # show article date in the article header authors: true # show article authors in the article header topics: true # show assigned topics in the article header time: true # show reading time in the article header front: # params for the front page content maxrows: 3 # the maximum number of rows on the front page maxentries: 5 # maximum number of articles displayed for each category sidebar: # params for the sidebar maxentries: 5 # maximum number of articles to display in "Popular" and "Latest" sections show: categories: true # show Category list in the sidebar popular: true # show the Popular Articles sidebar latest: true # show the Latest Articles sidebar streams: schemes: theme: type: ReadOnlyStream prefixes: '': - user/themes/opb - user/themes/knowledge-base
How do I know that settings are not inherited:
- because the sidebar disappears and
- because a dump of the configuration shows that they are not set
Switching back to the original theme (obviously) makes everything work again.
I cleared the cache and in fact disabled caching, just to make sure it had nothing to do with it.
Anyone any other idea?
Thanks in advance!