Wikka Mod 017

Type: Feature Addition

Credit:

DreckFehler
WakkaActions @ WakkaWiki


Disable Comments on a Single Page

You can disable the comment-section on any single page. Just create a file "nocomments.php" in the actions-folder, which contains one single line:

<?php $this->config["hide_comments"] = 1; ?>

From now on you can disable comments by placing a {{nocomments}} anywhere in the text of that page, you want to lock the comments. Useful for pages like UserSettings, PageIndex and stuff like this.

-- DreckFehler

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki