Page 1 of 1

How to change site name from 'Subsonic' on own server

PostPosted: Sun May 22, 2016 8:24 pm
by Dave2592
Hi guys, :)

I have Subsonic installed on my own Web-based server, with its own domain name.

I'm running Subsonic 6.0 on Ubuntu 14.04 Server on the Internet.

How do I change the site's name from 'Subsonic' on the login, home and other pages, and instead use my own 'vanity' name (such as 'MySite')?

Thanks in advance for any help. :)

Dave

Re: How to change site name from 'Subsonic' on own server

PostPosted: Mon May 23, 2016 5:25 am
by tmwsiy
Not sure how the directories work on Ubuntu but on Windows I can go to install location (C: usually), Subsonic > Jetty > WebApp > Icons and then choose the theme.
Inside the theme folder, you can replace the default icons with icons of your choosing.

Re: How to change site name from 'Subsonic' on own server

PostPosted: Mon May 23, 2016 9:26 am
by Dave2592
Hello, :)

Thanks for your reply. I successfully changed the logo and favicon, no problem.

I am actually trying to replace the text title 'Subsonic' (which displays beside the logo image) with my own title (such as 'MySite').

I'm running Subsonic 6.0 on Ubuntu 14.04 Server on the Internet, and I'm using the 'High Contrast (Inverted)' theme.

Dave

Re: How to change site name from 'Subsonic' on own server

PostPosted: Mon May 23, 2016 7:43 pm
by tmwsiy
I think the text is just part of the logo. I can't recall if it is just the "logo" file or it is called "subsonic_logo".
I changed it successfully a long time ago and I did not have "Subsonic" on my web player at all.
This was one of the logos I used.

Image

How to change site name from 'Subsonic' on server [SOLVED]

PostPosted: Mon May 23, 2016 7:56 pm
by Dave2592
Hi, :) I'm not sure, but this maybe a new feature in Subsonic 6.0.
Me, too, I don't remember having this problem with v5 or even the 6.0 beta, and yet I had hacked the theme the same way.
But, no, the 'Subversion' is text, not part of the logo graphic.
So, I'm still looking for a fix...
Anyone got any other suggestions per chance?

I am actually trying to replace the text title 'Subsonic' (which displays beside the logo image) with my own title (such as 'MySite').

I'm running Subsonic 6.0 on Ubuntu 14.04 Server on the Internet, and I'm using the 'High Contrast (Inverted)' theme.

Dave

Re: How to change site name from 'Subsonic' on own server

PostPosted: Thu May 26, 2016 1:27 am
by tmwsiy
Dave,

I think you are right about there being a change with new version.
Sorry I could not help- hopefully someone chimes in.

Re: How to change site name from 'Subsonic' on own server

PostPosted: Thu May 26, 2016 10:51 am
by G8DHE
The text appears in this file;
Code: Select all
\subsonic\jetty\ef60a8\jsp\org\apache\jsp\WEB_002dINF\jsp\left_jsp.java

Re: How to change site name from 'Subsonic' on own server

PostPosted: Thu May 26, 2016 2:17 pm
by Dave2592
Thanks for that tip. I found the file \subsonic\jetty\ef60a8\jsp\org\apache\jsp\WEB_002dINF\jsp\left_jsp.java OK and made the edit, for the page and the page title. (By the way, one also has to make the change for the login page, too.)

But the new site name does not show up, even after restarting the Subsonic process on the server.

I do believe that after making a change to a Java code file, I have to recompile it. Is that right?

If so, any tips about how I do that?

Anyway, the bottom line is that my 'vanity' site name is still not showing up.

What do I have to do to get it displaying?

Thanks in advance for any help.

Dave

Re: How to change site name from 'Subsonic' on own server

PostPosted: Thu May 26, 2016 8:20 pm
by G8DHE
Well you could also edit the matching .class file rather than compile it!

Re: How to change site name from 'Subsonic' on own server

PostPosted: Thu May 26, 2016 8:33 pm
by Dave2592
Hi, :D

You earned yourself a big, sloppy, wet kiss! :D

Lateral thinking pays, huh?

That worked. Edited the .class file, restarted the Subsonic process and my new site name is there.

Mind you, DEV(s), why can't that be in the settings? It would make life so much simpler.

Thanks, mate.

Dave

Re: How to change site name from 'Subsonic' on own server

PostPosted: Sat May 28, 2016 11:09 pm
by SpudSong
To change the name that appears at the top of the web browser you can edit the "title" tag on line 3 in the head.jsp file. (...subsonic/jetty/####/webapp/WEB-INF/jsp/head.jsp)

Code: Select all
<title>Subsonic</title>


As was mentioned earlier in this post, to change the name that appears on the left side of the page, to the right of the logo, you can edit the "span" tag on line 58 in the left.jsp file. (...subsonic/jetty/####/webapp/WEB-INF/jsp/left.jsp)

Code: Select all
<span style="font-size:20px; font-weight:400; vertical-align:middle; padding-left:3px">Subsonic</span>