Project

General

Profile

More (or different) projects on the main page

Added by Marcin Kasperski over 16 years ago

I have 6 projects in my redmine installation. The main page (Home) shows 5. And, unfortunately, the one which is omitted is the one I use most frequently. I searched for some way to modify it, couldn't find a way.

Is it possible to increase the number of projects on the Home page (preferably), or modify which projects are shown there?


Replies (6)

RE: More (or different) projects on the main page - Added by Mischa The Evil over 16 years ago

See the quick 'n dirty patch which I've just uploaded to issue #1790. This will raise the amount of projects shown in the block from 5 to 10.

Hope this helps...

RE: More (or different) projects on the main page - Added by Marcin Kasperski over 16 years ago

Thanks, it helped.

PS Is it possible to make some use of the empty space on the left-half part of this page?

RE: More (or different) projects on the main page - Added by Marcin Kasperski over 16 years ago

(and, btw, is it possible to modify the order in which projects are displayed?)

RE: More (or different) projects on the main page - Added by Mischa The Evil over 16 years ago

Marcin Kasperski wrote:

PS Is it possible to make some use of the empty space on the left-half part of this page?

Yes, quite easily too. Just goto Home -> Administration -> Settings -> Tab: General -> Field: Welcome text (this is @ /settings?tab=general) and create your text which will fill that left-half.

Marcin Kasperski wrote:

and, btw, is it possible to modify the order in which projects are displayed?

Sort in what order? It is now sorted decending on project creation date. Do you want it sorting ascending? Do you want to sort on project name?

Doing this quick and dirty should be pretty easy... P.S. what version of Redmine are you running? Release 0.7.x? Trunk? 0.7-stable?

RE: More (or different) projects on the main page - Added by Marcin Kasperski over 16 years ago

Administration -> Settings -> Tab: General -> Field: Welcome text (this is @ /settings?tab=general) and create your text which will fill that left-half.

Hmm, not quite what I thought about. I'd rather see two-column project list (in case there are a lot of projects), or my top-priority bugs/tasks....

Sort in what order?

Sort on project name would surely be better. I don't think the creation date is of any importance.

Alternatively one could consider the date of last activity inside project (newer first).

If it is necessary to cut some projects, some scoring based on the last activity (how long ago and how many things happened) could make sense.

what version of Redmine are you running? Release 0.7.x? Trunk? 0.7-stable?

trunk (checked out a few days ago)

RE: More (or different) projects on the main page - Added by Mischa The Evil over 16 years ago

Marcin Kasperski wrote

Hmm, not quite what I thought about. I'd rather see two-column project list (in case there are a lot of projects), or my top-priority bugs/tasks

This is currently not possible without extensive hacking of Redmine Core. Though using the supported Textile-syntax in a creative manner can produce some neat pages (without "integrated" project-list).

You can take a look at the currently outstanding issues. If there's already such an feature-request take a look if it suits your 'thoughts', and if not leave a comment. If no such issue exists already feel free to open one describing your 'thoughs'

Marcin Kasperski wrote

Sort on project name would surely be better

To sort the list by name change this (source:trunk/app/models/project.rb@1745#L92) line to look like:

 find(:all, :limit => count, :conditions => visible_by(user), :order => "name DESC")

That should do the trick...

Marcin Kasperski wrote

Alternatively one could consider the date of last activity inside project (newer first)

AFAICT such functionality would require additional db-queries since only projects.fields values are available there. I guess such should be avoided.

Hope this helps... Greetz..

    (1-6/6)