为kotti添加的discs评论系统
kotti_disqus的Python项目详细描述
这是Kotti CMS的一个扩展,它向您的 地点。它使用Disqus,因此您需要注册 在你可以使用它之前,先在那里记帐。
设置
要激活kotti站点中的kotti_disqus加载项,需要添加 粘贴部署配置中kotti.configurators设置的条目。如果 您没有kotti.configurators选项,请添加一个。kotti_disqus 取决于kotti_settings,因此您也需要为此加载项添加一行:
kotti.configurators = kotti_settings.kotti_configure kotti_disqus.kotti_configure
您可以在“设置”页更改一些设置 (http://your.domain/@@settings或使用“站点设置”的子菜单)。
Option | Explanation |
---|---|
Disqus Shortname | The shortname you registered at Disqus. Necessary for the commenting system to work! |
Disqus Base URL | Change the base URL - useful if you move your site to another URL but want to keep your comments. Will use the current URL if not set. |
Disqus Available Types | Select the types on which you want to enable comments. You can select from all types available to Kotti via ^{tt6}$. If nothing is selected, comments won’t appear so be sure to select at least one of these. |
如果需要包含kotti.available_types中不可用的类型,或者 要强制一个永远不能禁用的选项,可以通过 kotti_disqus.extra_types,例如:
kotti_disqus.extra_types = kotti.resources.Document kotti.resources.Image
更改日志
0.1
- 初次发布。