plone的单叶图集成

collective.js.leaflet的Python项目详细描述


Description

用传单地图的力量丰富你的plone站点。此包的传单版本为0.7.3。

https://github.com/Leaflet/Leaflet

这个插件注册了基于传单的javascript和css资源,并且 可选一些有趣的传单插件。通过安装这个插件, 传单地图资源自动集成。激活一些 插件,您必须将这些资源包之一添加到registry.xml中 注册:

因为这个插件只提供传单资源,所以您最终提供了一些 地图的html标记并为 传单地图工作。

您有一个示例视图,位于/@单张地图视图。

你可以在这里观看演示视频:Youtube DEMO

TODO

  • 编写适当的测试。

collective.js.leaflet Installation

要将collective.js.fluel安装到全局python环境(或workingenv)中, 使用传统的zope 2实例,您可以这样做:

  • When you’re reading this you have probably already run

    ``easy_install collective.js.leaflet``.
    

    Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall

  • If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:

    python setup.py install --home /path/to/instance
    

    into your Zope instance.

  • Create a file called ^{tt1}$ in the ^{tt2}$ directory. The file should only contain this:

    <include package="collective.js.leaflet" />
    

或者,如果您使用的是zc.buildout和plone.recipe.zope2instance 配方管理您的项目,您可以这样做:

  • Add ^{tt3}$ to the list of eggs to install, e.g.:

    [buildout]
    ...
    eggs =
        ...
        collective.js.leaflet
    
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        collective.js.leaflet
    
  • Re-run buildout, e.g. with:

    $ ./bin/buildout
    

如果要显式地包含包,可以跳过zcml slug 从另一个包的configure.zcml文件。

Changelog

1.0.0 (2018-10-10)

  • 迁移到第5层 [安培数]

0.7.1 (2015-06-25)

  • 将所有javascript注册设置为cachable和cookable true。 [时间]
  • 删除传单.ie.css,因为它已从传单中删除。 [时间]

0.7 (2014-08-26)

  • 更新此软件包的传单版本(现在为0.7.3)。 [b按钮]

0.6 (2014-04-30)

  • Laflet+插件从2013-06-24更新。 [时间]

0.5 (2013-06-11)

  • 添加一些有趣的插件并引入bundle概念来启用 单个插件。 [时间]
  • 新的传单资源结构:直接从github获取源代码并调整 使用新子目录的资源目录。这个变化是倒退的 兼容的。 [时间]
  • PEP8清理。 [时间]

0.4.4.1 (2012-09-24)

  • 修复css图像url[ebrehault]

0.4.4 (2012-09-13)

  • 升级至传单0.4.4[ebrehault]
  • 注:我们现在使用传单库版本作为鸡蛋版本。

0.3.3 (2012-09-03)

  • 固定蛋[ebrehault]

0.3.2 (2012-08-02)

  • 升级至传单0.4[ebrehault]

0.3.1.5 (unreleased)

  • 什么都没变。

0.3.1.4 (2012-02-24)

  • 修复后台URL

0.3.1.3 (2012-02-24)

  • 修正:只在ie[kiorky]上启用ie css

0.3.1.2 (2012-02-24)

  • 修复plone<;41[kiorky]

0.3.1 (2012-02-23)

  • 初始版本[Kiorky]

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

推荐PyPI第三方库


热门话题
java如果在使用JDBC时不包含db驱动程序会发生什么?   发生错误时使用JAXWS跟踪XML请求/响应   java servlet版本getServletContext()。getEffectiveMajorVersion()在我使用3时给了我2.5   jakarta mail在Java中使用Javamail获取消息contenttype时出错   java正在获取WebSphere app Server的实例名称   java在javafx中向TreeItem添加了一个addEventHandler   java我们可以在运行时从泛型类型实例化一个对象吗?   带倒计时的java循环[自动重新启动]   java将画布转换为位图   java在tomcat7上运行shell脚本   使用列表更新java hibernate实体   java如何替换� 字符串中带有“,”的字符?   使用SwingGUI的java简单ClientServer程序   java使用smtp在javamail中以附件形式发送超链接   selenium中的java用户登录身份验证?