Regarding issue XWIKI-523 (Tags should be shown with comments and attachments)
Hey! Regarding the dialog going on over at http://jira.xwiki.org/jira/browse/XWIKI-523 ..thought I'd move it here. Touché regarding the point that I should do this myself. It might not be a hard thing to do, theoretically, if you're into both the java code and the db model of xwiki. However, without the benefit of this knowledge, I'm of the impression that fixing this would take me a lot of time. And I am of course in no position to expect that you guys, who are busy developing xwiki for the good of all mankind, would do this for me. But maybe I can suggest a trade of some sort? I produce something within my abilities, and vice versa? My plan is to get deeper into the development matters of xwiki by writing snippets and plugins, and thereby growing steadily more familiar with the architecture and the api. Right now I'm working on jabber (maybe using the JWChat client) inside xwiki, enabling real-time communication between the currently logged in users. Would this be of interest to you? I will of course contribute this plugin no matter what you decide to do about the mentioned issue, but at least now I've stated my humble wish :-) best regards Thomas Drevon
Hi Thomas, On Jun 5, 2007, at 2:18 PM, Thomas Drevon wrote:
Hey!
Regarding the dialog going on over at http://jira.xwiki.org/jira/ browse/XWIKI-523 ..thought I'd move it here.
Touché regarding the point that I should do this myself. It might not be a hard thing to do, theoretically, if you're into both the java code and the db model of xwiki. However, without the benefit of this knowledge, I'm of the impression that fixing this would take me a lot of time.
And I am of course in no position to expect that you guys, who are busy developing xwiki for the good of all mankind, would do this for me. But maybe I can suggest a trade of some sort? I produce something within my abilities, and vice versa?
My plan is to get deeper into the development matters of xwiki by writing snippets and plugins, and thereby growing steadily more familiar with the architecture and the api. Right now I'm working on jabber (maybe using the JWChat client) inside xwiki, enabling real-time communication between the currently logged in users. Would this be of interest to you? I will of course contribute this plugin no matter what you decide to do about the mentioned issue, but at least now I've stated my humble wish :-)
This is great to see that you're interested in learning more and more about xwiki development. We would be very happy to help you achieve greater knowledge of XWiki internals and I'd personally help you whenever I can (I don't have all the answers though as, like you, I'm also learning the XWiki internals). Here's how we could work together: you send some emails on the list, maybe with some GUI mockups about how you think tags should be integrated. You'll get lots of feedbacks I'm sure, especially if you show something in a mockup (people love images ;-)). Then you start sending some emails about how you think it should be done and committers will comment, tell you if there's a better way. And you can ask for any question you have along the way. WDYT? After you start posting good patches to the code in SVN, showing your understanding, etc we'd love to have you as XWiki committer if you're interested in contributing to xwiki over the longer run (see http:// www.xwiki.org/xwiki/bin/view/Community/Committership for more details on that). But that's for later... ;-) I'm just saying it so that you know that the xwiki dev team is keen to get new committers on board. We just need to ensure that they know xwiki well enough and understand the dev process well enough to be given full commit rights. Thanks -Vincent
Vincent Massol wrote:
Here's how we could work together: you send some emails on the list, maybe with some GUI mockups about how you think tags should be integrated. You'll get lots of feedbacks I'm sure, especially if you show something in a mockup (people love images ;-)). Then you start sending some emails about how you think it should be done and committers will comment, tell you if there's a better way. And you can ask for any question you have along the way.
WDYT?
Sure! Ok here we go: 1. View tags along with a document. It doesn't really matter what kind of document, but for this example I've used a blog entry. See the attached file called blog_entry_view.png. In order to achieve this, just add the following lines to an appropriate place in XWiki.ArticleClassSheet: <code> Tags: #foreach($tag in $doc.getTagList()) <a href="$xwiki.getURL("Main.Tags", "view", "tag=$tag")")">$tag</a> #end </code> This code is tested and works fine. Problem: On docs without a template sheet, this gets a bit more messy, as it seems the above code must be added directly to content.vm. Maybe all docs should inherit from some sort of generic template sheet? This will give users more flexibility by sparing them the messing up of velocity files, and thus making an upgrade of their xwiki version harder. And by the way, is it correct that while viewing this doc, the breadcrumbs read "BLOG: Administration > Samarkand" even though I'm not logged in? "Administration" here seems a bit strange? 2. Intuitive edit of tags while in edit mode. See the attached file called blog_entry_edit.png. In order to achieve this, add the following lines to the correct place in XWiki.ArticleClassSheet: <code> <dt>Tags:</dt> <dd><input type="text" id="tags" name="tags" size="60" value="$!tdoc.tags"/></dd> </code> Though this code produces a nice input field as expected, tags entered here will not be saved along with the doc, unless the servlet engine is restarted between the creation of the docs and the editing of tags. Strange. Well, what do you think? Oh yes, and I'm all for letting users turn on/off the tag functionality in xwiki.cfg, by the way. cheers :-) Thomas
participants (2)
-
Thomas Drevon -
Vincent Massol