SimpleList mediaList = HTMLTemplateProcessor.makeSimpleList(currentMedia);
mergeData.put("to_media", mediaList);
}
- /**
- currentMediaId = currentContent.getValue("to_media");
- if (currentMediaId!=null && !currentMediaId.equals("")) {
- imageHash.put(currentMediaId, HTMLTemplateProcessor.makeSimpleHash(imageModule.getById(currentMediaId)));
- }
- mergeData.put("images", imageHash);
- */
+
// get the comments for the article
mergeData.put("comments", currentContent.getComments());