[MGNLSTK-1383] IntenseDebate-commenting-template is not working; configured ID cannot be read by the template-script Created: 29/Apr/14  Updated: 14/May/14  Resolved: 14/May/14

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: templates
Affects Version/s: 2.0.20, 2.7.5
Fix Version/s: 2.7.5

Type: Bug Priority: Major
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Commenting can be configured in a way that it is using intenseDebate (see http://intensedebate.com/, http://documentation.magnolia-cms.com/display/DOCS/Commenting+module, http://docuold.magnolia-cms.com/modules/commenting.html).
Beside other things, an IntenseDebate-ID must be provided in the configuration.
The template-script (magnolia-module-standard-templating-kit/src/main/resources/templating-kit/components/features/comments.ftl) which should read that ID doesn't work; the ftl-expression to read the expression is not working (anymore).

Beside the script the config. should be changed, too.
intenseDebateId-property should not be on /default/templates/prototype/areas/main/areas/comments
but on /modules/standard-templating-kit/templates/components/features/stkComments/parameters/intenseDebateId



 Comments   
Comment by Christoph Meier [ 06/May/14 ]

Commit is on branch "MGNLSTK-1383".
(See https://git.magnolia-cms.com/gitweb/?p=modules/standard-templating-kit.git;a=commit;h=21878f93e0716ff61d279d3681494a01ca3862d7)

Comment by Christopher Zimmermann [ 14/May/14 ]

Two minor problems:
1.(Optional) MoveIntenseDebateIDTask - Rename PARAMTETERS_NODE_NAME to PARAMETERS_NODE_NAME

2.
Please update the language property files for the hint of where to configure the intenseDebateID. Currently the comments.setAcct points to the wrong location.

comments.setAcct = To use Intense Debate commenting you need to set your Intense Debate Account Id in Site configuration at /templates/defaultSettings/areas/mai/areas/comments/intenseDebateId

Best fix would be to reduce the string in the language file to not mention the path - and move the path into the comments.ftl file.

(ie /magnolia-module-standard-templating-kit/src/main/resources/info/magnolia/module/templatingkit/messages_en.properties)

Generated at Mon Feb 12 07:36:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.