将detectmobilebrowsers脚本添加到plone资源注册表

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


简介

此加载项注册了detectmobilebrowsers的修改版本,以提供 一个ismobile javascript变量,这样您就可以使用javascript了。

版本:2012年10月18日(请检查detectmobilebrowsers的页脚)

如何安装

此加载项可以安装有任何其他加载项。请遵循官方 documentation

javascript注册在一个包中,因此您必须配置您的主题 以这种方式使用:

<registry>
  <record name="Products.ResourceRegistries.interfaces.settings.IResourceRegistriesSettings.resourceBundlesForThemes">
    <value>
      <element key="plonetheme.mytheme">
        <element>default</element>
        <element>detectmobilebrowsers</element>
      </element>
    </value>
  </record>
</registry>

学分

更改日志

1.0dev(未发布)

  • 初始版本

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

推荐PyPI第三方库


热门话题
java Spring引导类NotFoundException EmbeddedServletContainerCustomizer   java osgi安全模型是如何工作的?   java在双链表中迭代?   (JAVA)使用命令提示符创建。来自多个服务器的jar文件。类文件   Java处理在使用线程时不显示内容   java不休眠SessionFactory。openSession()等待数据库连接从池中可用   MySQL Java Bukkit插件从数据库中选择   java如何使用CharSequence   java如何在Spring MVC REST中为JSON设置contentlength?   java在现有SOAP web服务上构建REST包装器   java Vertx NetServer控制读取流   Linux下的C++全局java语言   java我可以使用数组。用2d数组填充?如果是,我该怎么做?   java如何在google应用程序引擎的日志中显示UTF8字符?