Does the existing UGC module have the flexibility to allow inserting images and video content as part of comments. If not, can this be done with any customization?
-
How are you seeing this, can you elaborate a bit more on the question and its context? Is it an issue on how to add the content or how to store it?– Bart KoopmanFeb 6, 2014 at 12:36
-
Bart : We have a requirement stating that reviewer's should be able to add images/videos as part of the comments. can we achieve this functionality using UGC module– Karthik RaghavanFeb 6, 2014 at 12:40
-
Have you tried it already? You are not answering my questions.– Bart KoopmanFeb 6, 2014 at 12:41
-
I tried it, but i was unable to add the images as part of my comment section. I also checked in UGC database tables to see does it give any flexibility to insert image/video content.– Karthik RaghavanFeb 6, 2014 at 12:47
2 Answers
This is a tricky functionality but doable I think. You can use BBCode to define rich content for your comments (images, links, links to videos like youtube videos). The main problem about using BBCode is that either UGC or the Browser won't understand it, it means that you will need to write a parser from BBCode to HTML. You can extend the UGC Server Controls (.NET) or Tags (Java) in order to get the UGC comment including BBCode and parse it converting it in HTML.
You mention in your comments: "We have a requirement stating that reviewer's should be able to add images/videos as part of the comments". As stated (i.e. you have reviewers that need to leave comments), this requirement may better be satisfied via SDL Tridion's Workflow.
Workflow already provides the facility to leave comments for the next reviewer in the process, but you can also get your reviewers to simply edit the Component with the images/videos. If you don't want reviewers to edit the actual content component, you can add a component link to it pointing to a "review component" where your reviewers would have permissions to edit it.
If you have a concern that the reviewers only need to look at the published/rendered content, then you can email them a link to the Preview/Staging site and a link to the Workflow task. So they can take a look, then go to the task and the component to leave their comments/edits. Also consider using Experience Manager for in-context editing (giving the Reviewers group access only to the Review component).