How do i make it so that comments show up on this theme?
I need comments enabled for the platform, server & site content types so that i can keep a log of all the changes but they wont show up because I am guessing that the theme is not setup to display them.

Comments

steven jones’s picture

Status: Active » Closed (won't fix)

So, sadly comments are really supported in Aegir 1, and aren't likely to be in Aegir 2 either.

However, if you really want to enable comments, here's how you can do it:

  1. First you need to enable the ability to switch comments on on the particular node types. To do this you will need to implement hook_form_alter in your own module:
    function mymodule_form_alter(&$form, &$form_state, $form_id) {
      $node_types = array('site', 'platform', 'server', 'client');
      foreach ($node_types as $type) {
        if ($form_id == $type . '_node_form') {
          $form['comment_settings']['#access'] = TRUE;
        }
    }
    
  2. Then you can visit the normal content type settings screen and enable comments. Comments should work then I think.