With solution 1) you'd start by creating an empty dashboard, then go in edit mode and
add content. Adding content would create DashboardItem objects (for example).
... just a wild idea... ;)
Thanks
-Vincent
** options: **
1) have the dashboard macro directly in the Main.WebHome and not in an
included document.
I don't like this too much. We need a Main.Dashboard page IMO since users will want
to customize their home page I think and still have a link to the Dashboard page in the
quick links menu for example.
ok, I agree with this argument.
however, this might be an issue in conjunction with Jerome's arguments
for keeping Main.Dashboard as space dashboard for compatibility reasons
(which I agree with), since we might need to implement 3) (see my cons
for proposal 3).
Let's say I'm 0 on this.
The bad part is that when a translation is
edited,
it's only that translation which sees the changes, but this is an issue
in general
I don't get this part. This is true whether you have an {{include}} or a
{{dashboard}} macro.
which is what I said above, but I was just wondering whether it's a
bigger problem for main webhome dashboard than it is in general. Because
that's the standard type of content that is displayed on the main
webhome and one might think that one customization should be done
regardless of the language.
Thanks,
Anca
I need more info about my questions above to answer the points below.
Thanks
-Vincent
2) for the space dashboards, there are 3
possibilities:
a) leave it all in the Main.Dashboard document to be included in all
space dashboards ('backwards compatible')
b) leave it all in a document to be included but rename it to
Main.SpaceDashboard (to be semantic)
c) remove any document for this purpose, and write the dashboard macro
call directly in the space webhome, since now it should be a lot easier
to do that and also to customize it (7-8 lines of code but no wysiwyg,
yet), potentially create a template provider for this.
Note that a) and b) require a way for the recent activity and tagcloud
macros to realize that it's the current space they need to use as the
scope, without actually passing the space because that would mean
velocity scripting, again. This is not necessarily a bad thing, though.
Besides overcoming this, c) has also the advantage that the dashboard
will be in the document itself, and not included (I don't have yet a
straightforward solution for wysiwyg editing included dashboards). The
drawback of c) is that it will be impossible to customize all the space
dashboard at once, you'd need to develop a bit to provide that capability.
I'd +1 for 1) and I'd choose 2c).
WDYT?
Thanks a lot,
Anca
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org