That was my idea initially but since we cannot have filters and sort on
titles, we cannot get rid of the "name" column. (+ the name column is
handy for advanced users that resonate by doc name not title).
And in the end, I think it's good to have both both name and title next
one to another. It helps users getting to understand that they are two
different things.
Jerome.
On 19/02/10 17:59, Flavius Olaru wrote:
What if we have doc.title instead of doc.name? and
doc.title as a link to
the document.
I would like it more and would fit in 1024 resolutions better. And for long
doc title we could do a trim to 50 characters for example.
<a href="doc.getURL('view')"
title="$doc.title">#trimmed($doc.title, 50)</a>
#macro(trimmed $str $numchars)
$doc.title.substring(0, 50)
#end
WDYT?
On Fri, Feb 19, 2010 at 3:58 PM, Jerome Velociter<jerome(a)xwiki.com> wrote:
Hi all,
I propose to add a column in the document index table to display the
document titles. Right now we only display document name and space ; and
users do relate to the title they enter in the edit Form, not to the
technical name of the page.
Only issue is that currently we can't have this column sortable nor
filterable since standard XE documents use the localization tool for
their title, so searching and ordering would not provide with expected
results.
I propose we add the column just after the page name one, non
filterable/sortable (for the moment and until we find a way to make
internationalized titles searchable) and non clickable.
You can check the result on the incubator wiki (just the i18n key for
the table header is missing)
http://incubator.myxwiki.org/xwiki/bin/view/Main/AllDocs
Note that this will force us to add a nice title to all documents in XE
(this is not the case right now, some technical documents in
"blacklisted" spaces still have no title)
JIRA issue :
http://jira.xwiki.org/jira/browse/XE-603
Opinions ?
Thanks,
Jerome.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs