By the way, 2 additional ideas : - You could add a static list property (with [1,2,3,4,5] as allowed values) to rank the importance / interest of favorites and display them according to their ranking on the page (thru a hql sort query) - Don't forget to add your application on http://code.xwiki.org/ once a first working version is out ;-)
Guillaume On Tue, Jul 1, 2008 at 11:32 PM, Mike Oliver <[EMAIL PROTECTED]> wrote: > > Good ideas, I followed the ToDo example and created a Favorites space to > store the documents but agree better to store them by user. I guess I can > get it working in the ToDo model first and then move the location of the > documents and change the filter accordingly. > > Our messages passed on the wires where Posted my first pass. > > Ollie > > > Guillaume Lerouge wrote: > > > > Indeed. I'd still advise looking at how the watchlist feature is > > implemented > > since it somehow manages to store user preferences in their profiles and > > you're going to need that feature in your implementation I guess... > > > > Not sure whether there's been any recent discussion on creating > > easy-to)use > > user profiles extension points - though this kind of use cases (as well > as > > a > > bunch of others) show they're needed. I think there is a way to access > > them > > right now without changing the UserClassSheet (maybe by adding new kind > of > > objects to user profile pages...) > > > > Re your implementation, I'd advise having the list of favorited pages > > stored > > in one (or many) objects attached to the user profile page of the current > > user and writing a panel taking the currently logged user UserName as a > > parameter, retrieving the data from those favorite objects stored on his > > user page and displaying their values in the panel ... > > > > Guillaume > > > > > > > >> Ollie > >> > >> Guillaume Lerouge wrote: > >> > > >> > Hi Mike, > >> > > >> > > >> >> Can I filter on the user that created the record of the favorites > >> class? > >> >> > >> > > >> > Sure... But why don't you have your users use the Watchlist feature > >> that > >> > basically already is XWiki's favorites system for individual users ? > >> > > >> > Cf > >> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication > >> > , > >> > it's bundled with all recent versions of XWiki Enterprise AFAIR ... > >> > > >> > You might still want to add that description field though... > >> > > >> > Guillaume > >> > > >> > > >> > > >> >> > >> >> Ollie > >> >> > >> >> Wright, Philip wrote: > >> >> > > >> >> > Idea is to allow the user to create the description? If so sounds > >> like > >> >> a > >> >> > GREAT idea. > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > Philip Wright > >> >> > > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html > >> >> Sent from the XWiki- Users mailing list archive at Nabble.com. > >> >> > >> >> _______________________________________________ > >> >> users mailing list > >> >> [email protected] > >> >> http://lists.xwiki.org/mailman/listinfo/users > >> >> > >> > > >> > > >> > > >> > -- > >> > http://wikibc.blogspot.com/ > >> > _______________________________________________ > >> > users mailing list > >> > [email protected] > >> > http://lists.xwiki.org/mailman/listinfo/users > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.html > >> Sent from the XWiki- Users mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> users mailing list > >> [email protected] > >> http://lists.xwiki.org/mailman/listinfo/users > >> > > > > > > > > -- > > http://wikibc.blogspot.com/ > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > View this message in context: > http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225762.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > -- http://wikibc.blogspot.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
