Theme add or better remove theme template

Frequently asked questions. Tutorials, tips and tricks.

Theme add or better remove theme template

Unread postby ForSSux » 26 Sep 2014, 14:09

Hi There,

I have tried to alter a theme to suit my needs ...with mixed results.

In linux I have expanded the subsonic.war file... with

Code: Select all
jar -xvf subsonic.war



In this directory structure I altered some icons and I also changed the .properties file here
In the "WEB-INF\classes\net\sourceforge\subsonic\theme" I also added a couple lines in "themes.txt" to allow my theme to be listed in Subsonic.

This comes from http://forum.subsonic.org/forum/viewtopic.php?f=6&t=11500&p=55048&hilit=theme#p55048
Here is 7-zip to extract used but how to pack it in?

I then did a
Code: Select all
jar -cvf subsonic.war index.html WEB-INF




I then moved this file over the old one in /var/subsonic/standalone

Is this the right procedure?

How am I to do this In Windows 8 or 7 ?
Can somebody help me?
Kind Regards
Guy Forssman
ForSSux
Contributor
Contributor
 
Posts: 34
Joined: 02 Apr 2013, 14:07
Has thanked: 27 times
Been thanked: 19 times

Re: Theme add or better remove theme template

Unread postby ForSSux » 30 Sep 2014, 12:18

If you Just want to remove a theme...
then edit the following file
C:\madsonic\jetty\3860\webapp\WEB-INF\classes\net\sourceforge\subsonic\theme\theme.txt

remove from this list the themes you don't want and then simply restart Madsonic in the Madsonic Control Panel

The choice is now limitted
Guy Forssman
ForSSux
Contributor
Contributor
 
Posts: 34
Joined: 02 Apr 2013, 14:07
Has thanked: 27 times
Been thanked: 19 times

Re: Theme add or better remove theme template

Unread postby GJ51 » 30 Sep 2014, 15:22

C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\madsonic\WEB-INF\classes\org\madsonic\theme

Here's the location in the Tomcat war version on Windows.

Thanks Guy
GJ51
Contributor
Contributor
 
Posts: 194
Joined: 15 Dec 2012, 17:52
Has thanked: 68 times
Been thanked: 106 times


Return to Info

Who is online

Users browsing this forum: Bing [Bot] and 1 guest