MyBB Community Forums

Full Version: Very easy question about themes, please.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1) A theme, based on the default, is exported.
2) Now I need to use it with the images in a separate folder (images/new_theme)
3) In the XML file (for both MyBB 1.2.x and 1.4.x) I found this:

<imgdir><![CDATA[images]]></imgdir>
<logo><![CDATA[images/logo.gif]]></logo>

4) Change to this:

<imgdir><![CDATA[images/new_theme]]></imgdir>
<logo><![CDATA[images/new_theme/logo.gif]]></logo>


Question:
Is there anything else which needs to be changed for a new theme to function properly in a sub-folder?

Thank you.
Well, if you use the background() selector in your css, you need to add the path too [background(images/new_theme/whatever.gif)]
Or you could just upload the theme, then in the ACP change the image directory to images/new_theme/
(2008-12-12, 09:31 PM)Ooka Wrote: [ -> ]Or you could just upload the theme, then in the ACP change the image directory to images/new_theme/

I'll take a look, thanks.
Is that new in 1.4.x?
Nope, it's been there. But that's if I'm right about what you're asking.
Yeah.. Yoiu don't need to go through the XML file to change anything... just change in the ACP then export it only if you want to keep a backup or redistribute it. Wink
Boy... If I had to go through the XML file, I would totally stop making themes. That would loads of trouble.
Well, I did say it was a *very easy* question...
I must have seen that text box > 100 times and never really noticed it, since I didn't need it at the time. Blush

####

<Off Topic>

I have two much harder MyBB questions, which no one has answered, yet. Smile

</ Off Topic>

Thanks again for helping.