cancel
Showing results for 
Search instead for 
Did you mean: 

Comment Box in Wiki

nccfrog
Champ in-the-making
Champ in-the-making
Hi all,

I am new to Alfresco and therefore very unclear on many functions and APIs in Alfresco.

I would like to ask the community on how to append a comment box with its functions like those in the Document Library into the Wiki. Have been searching the forums and APIs to no avail.

Many thanks to any guidance and help given in advance.

Regards,

frog
6 REPLIES 6

mikeh
Star Contributor
Star Contributor
The view comments and create comment components live within the site-webscripts/org/alfresco/components/blog folder. Your best bet would be to dig into the source and see how they're used on the Blogs, Discussion, Links and Document Details pages.

Thanks,
Mike

nccfrog
Champ in-the-making
Champ in-the-making
ok thx alot! Will look through the files as suggested.

nccfrog
Champ in-the-making
Champ in-the-making
after a week's worth of deciphering how blog,doc detail, links and discussions import the comments function, I still could not get the comment function to work in wiki. It seems to me that the way wiki calls up the wiki-page is different from how links,blogs,discussion - 'list' calls up its corresponding 'view'. any advice on how to import the comment function into wiki?

nccfrog
Champ in-the-making
Champ in-the-making
It seems that wiki use a different mechanism to load its page compares to the document details, blog, links and discussions. cant seem to get the comment loaded together with the wikipage. Could not see the GET comments in the console of firebug, any idea how to solve this problem?

mikeh
Star Contributor
Star Contributor
Sorry, I can't help because I've not tried doing it. I guess you'll just have to do it "the hard way"  Smiley Sad

Mike

nccfrog
Champ in-the-making
Champ in-the-making
Hey Mike,

just to clarify, would it be sufficient to modify the .js, .ftl and the .xml of the component in question using some text editor? Or I have to modify the source code with the SDK with Eclipse?