Custom theme, image not appearing when added to global xml but working when added to system theme
-
Good evening.
I'm creating a new theme with custom background images for individual systems and I'm having problems when adding an image. The image should appear for every system, so I add this to my main xml file [MY_THEME/]my_theme.xml
<view name="basic detailed video"> <image name="list_help" extra="true"> <path>./_inc/images/help-list.png</path> <origin>1 1</origin> <pos>1 1</pos> </image> </view>
...but it doesn't work. Nothing appears. But, if I add this to one of the systems .xml:
<view name="basic detailed video"> <image name="list_help" extra="true"> <path>./../_inc/images/help-list.png</path> <origin>1 1</origin> <pos>1 1</pos> </image> </view>
...it works with no problem. I want to avoid adding those lines to every system theme. Does anyone know where the problem is?
Regards and thanks in advance
-
@zerobyzero separate basic, detailed and video with commas like this
<view name="basic, detailed, video">
at least that is how I have it on my own theme.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.