为kotti添加的discs评论系统

kotti_disqus的Python项目详细描述


这是Kotti CMS的一个扩展,它向您的 地点。它使用Disqus,因此您需要注册 在你可以使用它之前,先在那里记帐。

Find out more about Kotti

设置

要激活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或使用“站点设置”的子菜单)。

OptionExplanation
Disqus ShortnameThe shortname you registered at Disqus. Necessary for the commenting system to work!
Disqus Base URLChange 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 TypesSelect 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

  • 初次发布。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java将多个线程中的函数放入单个队列   数组在Java中,如何在不改变整数顺序的情况下找到整数组的顺序?   java控制器属于表示层?   java Apache Ivy和本地Maven repo如何处理使用Maven 3构建的快照   Java可与泛型类型进行比较   java这个表达式在泛型中是什么意思   JavaEclipse和TeamCity插件   java检测构造函数中的final是否为空   java如何在StanfordCoreNLP管道中同时使用词汇化和依赖性解析器?   java在AntUnit控制台日志中显示完整异常堆栈跟踪   lambda如何与Java 8供应商建立连锁关系   如何让GRPC的重试机制在Kubernetes集群中使用grpcjava工作?   如何使用openjdk:7 Docker映像和Gradle包装器避免“EC参数错误”?   java将集合映射扩展为一维映射新的“无法推断函数接口类型”