为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从arraylist元素调用方法   开关案例中的java错误。。。代码不返回任何内容   在TeamCity:Task:app:processDebugResources上使用Gradle进行构建时java失败   Android Studio的java Gradle同步(SDK)问题   小程序中的java Tic Tack Toe游戏:图像不工作   火柴ABC12;10;250.3使用regexjava   java如何在任务栏的系统托盘中隐藏JFrame   java ListProperty<T>与ObjectProperty<ObservableList<T>>   java如何将resultset数据转换为我的对象。以下是数据的格式   JavaJSF2和oracle   java Junit和EasyMock意外失败   使用java从生成的xml文档中删除xml声明   使用high ResultSet时某些表的java ArrayIndexOutOfBoundsException。fetchSize()   java检测点击按钮   while循环不会结束(Java)   java如何通过JUNIT将数据与文件进行比较?   hadoop Hive Java API寄存器JAR