contao/import — Issue #2525: Comments form not visible when requireLogin active.
Author: importer
Created: 2011-11-29 19:43:22+00:00
State: open
Labels: comments, Defect, Invalid

I may be going mad but I have been looking at the code for the "requireLogin" setting and it appears to me that there is nothing that will allow the form to be displayed if this setting is active. In mod_event.tpl, the form is wrapped in:

`requireLogin): ?>`

and this value gets pulled straight from the event archive setting. So how would the form be displayed if you only wanted it to be available to logged in users? Should there not be something in Comments->addCommentsToTemplate() that is checking for a logged in user and then setting that value?

--- _Originally created by winanscreative on September 10th, 2010, at 10:47pm (ID 2525)_