Set default view to NEWEST instead of random

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Postby tacgnol » Mon Feb 15, 2010 1:10 pm

C:\subsonic\jetty\xxxx\webapp\WEB-INF\jsp\index.jsp

Gotta love Java and it's awesome folder structures.
User avatar
tacgnol
 
Posts: 31
Joined: Mon Dec 21, 2009 1:46 pm

Postby swocoom » Thu Dec 23, 2010 11:10 pm

Also, if you know what you are doing and wish to modify source code, you can change the HomeController.java file. Simply change the lines that say:

if (listType == null) {
listType = "random";
}

Change random to newest, recompile and replace HomeController.class with the new one you just compiled. Make sure to backup your old class file in case you made a mistake.
swocoom
 
Posts: 11
Joined: Wed May 19, 2010 2:52 pm

Postby lucidwings » Fri Feb 11, 2011 8:02 am

swocoom wrote:Also, if you know what you are doing[...]


Hi there!
I'm not sure how to do that, could you upload that edited class file?
Thanks!
lucidwings
 
Posts: 5
Joined: Thu Nov 11, 2010 10:46 am

Postby 3R3 » Sun Feb 13, 2011 10:10 pm

modding it yourself is fun, but on every new update its a mess to get every mod in again thats not yet a feature and NOT kill the search function ;)
so +1 to make it a feature, optional main page and optional modified/created date shown for newest tab.

EDIT: to have the suggested mod (newest view instead of random view in main tab) not only show up when manually navigating to home.view or when first logging in, but also when staying there refreshing as often as the randow view to keep the newest view almost updated in real-time, see this thread I made:
"Newest" as main view instead of "Random"

Thx to all the info in here I just put the working bits together and fiddled till it was right. Thx for everyone who contributed :)
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Previous

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 0 guests