Requesting an event
                    In the file helper_functions.php for vanilla in the function WriteDiscussion()
Can you include the event
on line 94
                        Can you include the event
$Sender->FireEvent('DiscussionMeta');on line 94
<li class="Meta">
         <?php
            echo '<span>';
            echo sprintf(Plural($Discussion->CountComments, '%s comment', '%s comments'), $Discussion->CountComments);
            echo '</span>';
            if ($CountUnreadComments > 0 && $Session->IsValid())
               echo '<strong>',sprintf(Gdn::Translate('%s new'), $CountUnreadComments),'</strong>';
               
            echo '<span>';
            printf(Gdn::Translate('Most recent by %1$s %2$s'), UserAnchor($Discussion->LastName), Format::Date($Discussion->LastDate));
            echo '</span>';
            echo Anchor($Discussion->Category, '/categories/'.urlencode($Discussion->Category), 'Category');
            
            $Sender->FireEvent('DiscussionMeta');
         ?>
      </li>
                
            Tagged:
            
        
0          
             
         
            
Comments
Adding
<?php $this->RenderAsset('DiscussionTop'); ?>on line 24 of Vanilla/views/discussion/index.php would be perfect. Call it what you like though.
<?php echo $this->Pager->ToString('less'); ?> <?php $this->RenderAsset('DiscussionTop'); ?> <ul id="Discussion"> <?php echo $this->FetchView('comments'); ?> </ul>47: echo $this->Form->Button('Save Draft'); 48: } 49: 50: echo $this->Form->Button('Preview'); 51: $this->FireEvent('AfterFormButtons'); // <<< it's here 52: 53: echo Anchor('Cancel', $CancelUrl, 'Cancel'); 54: echo $this->Form->Close(); 55: ?>And in vanilla/views/post/comment.php in same place.