Was this page helpful?

Hide comments

    Table of contents
    No headers

    To prevent comments from being displayed:

    1.  Open MindTouch and select Tools->Control Panel (administrator access is required).

    ./Image1.JPG
    Figure 1

    2.  Select Configuration.

    ./Image2.JPG
    Figure 2

    3.  Enter the following config setting:  config key=ui/comment-count, config value=0.

    ./Image3.JPG

    Figure 3

    4.  Your pages may still contain some references to comments; modify the skin files accordingly.  For example, to remove the Comments tab at the bottom of the page, open Ace.php (Deki Wiki VM:  /var/www/deki-hayes/skins/ace).  Find and remove the following text: 

    <?php
    echo('<a name="attachImages"></a>'
    .'<div class="filesheader">'
    .'<div class="filesheaderbg">'
    .'<div class="filesheaderright">'
    .'<div class="filesheadertext">'.Skin::iconify('comments').' <span class="text">'.wfMsg('Skin.Ace.header-comments-count', '('.$this->haveData('commentcount').')').'</span></div>'
    .'</div></div></div>');
    ?>	
    <?php $this->html('comments'); ?>

    NOTE: The next time you update MindTouch by running updateWiki.sh, rename Ace.php to Ace.old.php. Then move your local changes from the old file to the new file that updateWiki.sh creates.

    Was this page helpful?
    Tag page

    Files 3

    FileVersionSizeModified 
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by