Project

General

Profile

Customization of the home page

Added by Grant McEwan over 14 years ago

Hi there,

Just wondering if there's an easy way of customizing the home page.

I'd like to remove the "Latest Projects" and add instead "latest issues".

any pointers on where to look?

Thanks
Grant


Replies (8)

RE: Customization of the home page - Added by Felix Schäfer over 14 years ago

It's hard-coded in the view at present, you could hack that if you know rails well enough though.

RE: Customization of the home page - Added by Grant McEwan over 14 years ago

Hi Victor,

What does blockslayout actually do? does it have the ability to change that layout?

The screen shots don't seem to show much other than configuring it.

G

RE: Customization of the home page - Added by Victor Dulepov over 14 years ago

Grant,
it's basically just allows you to turn the respective blocks on and off.

The page layouts were tweaked (that's just hardcoded, no user-controlled reordering), aiming to place more "static" information in the left column, and the "dynamic" part - on the right, like that:

Overview:
Project Description Open Polls
Issue Tracking Latest News
Members Latest forum messages
Home:
Latest News Latest forum messages
Latest Projects Open Polls

RE: Customization of the home page - Added by Bozidar Dimeski over 14 years ago

Hi Grant,

You can remove the "Latest Projects" by removing or commenting this part

<!--

<% if @projects.any? >
<div class="projects box">
<h3><
=l(:label_project_latest)%></h3>
<ul>
<% for project in Projects Projects >
<li>
<
= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project > (<= format_time(project.created_on) >)
<
= textilizable project.short_description, :project => project >
</li>
<
end >
</ul>
</div>
<
end >
<
= call_hook(:view_welcome_index_right, :projects => Projects Projects) %>
</div>-->

in REDMINE_ROOT\app\views\welcome\index.rhtml

For adding "latest issues" i can't help you, i just found how to remove the latest projects :). Maybe some one who has more experience with ruby can help you with that.

RE: Customization of the home page - Added by Kasia Gogolek about 12 years ago

Have a look at the plugin I made for latest issues here:

http://www.redmine.org/plugins/latest-issues

and if you're interested in how it was written, there's an article about it on my blog:

http://www.gogolek.co.uk/blog/2012/09/writing-redmine-2-x-plugins-tutorial/

RE: Customization of the home page - Added by Pierre de LESPINAY about 7 years ago

Does Blocks Layout plugin work with recent redmine versions ?
Or is there an equivalent plugin ?

    (1-8/8)