Item11439: CommentPlugin does not read UserCommentsTemplate from System web

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: CommentPlugin
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Documentation for CommentPlugin claims

  • To add site-wide local template customisations, add them to UserCommentsTemplate (create if it does not exist yet). You can redefine the standard templates here if you want, and your definitions will override the standard definitions.
  • To override templates on a web-by-web basis, add a topic UserCommentsTemplate to the web (this will replace UserCommentsTemplate)

From adding print statements in Template.pm, CommentPlugin does not look in the System web, but only reads the UserComments from the current web.

This can be "fixed" by adding qualifying the INCLUDE with the System web, but then the web-by-web override doesn't work.

-- GeorgeClark - 14 Jan 2012

Never mind. Dumb user error. There was an empty UserCommentsTemplate topic in my sandbox web.

-- GeorgeClark - 14 Jan 2012

 
Topic revision: r2 - 14 Jan 2012, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy