产品视图。用来自collective.contentLeadImage的图像显示内容的拼贴

collective.collage.contentleadimage的Python项目详细描述


简介

此产品允许在 一个拼贴的环境,在一个公共场所。

仅显示文件夹或集合的典型summary视图 图片对于新闻项,是唯一可以分配图片的默认类型 到。这个包使用了现有的“文件夹引导图像视图” collective.contentleadimage并显示拼贴中的内容两者 文件夹和集合(主题)可以将此新拼贴视图应用于 他们。

用法

使用buildout或类似方法安装此产品,然后启动 你的Plone实例zcml配置将自动获取 并为您的拼贴内容注册这些附加视图。

您应该在站点上安装collective.contentleadimage,以便 这些拼贴视图很有用将一些潜在客户图像分配给内容将 也有必要利用这些观点发挥其潜力。

设置布局

  1. 创建拼贴。
  2. 根据所述拼贴添加行和/或列。
  3. 将文件夹或集合添加到拼贴。这可以是实际的 内容或别名。
  4. 在拼贴的compose页面中,找到 你刚刚添加的内容。点击这个
  5. 选择summary(lead images)将显示新布局。
  6. 将潜在客户图像分配给内容,使其显示在此布局中

待办事项

  1. 一些单元测试

安装

  • collective.collage.contentleadimage添加到要安装的鸡蛋列表中,例如:
[buildout]
...
eggs =
   collective.collage.contentleadimage
  • 如果您使用的plone版本早于3.3,请告诉plone.recipe.zope2instance recipe安装zcml slug:
[instance]
recipe = plone.recipe.zope2instance
...
zcml =
   ...
   collective.collage.contentleadimage

作者

  • David Breitkreutz,JCU电子搜索中心[RockDJ,DavidJB]

许可证

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

变更日志

0.1-2010年6月15日
  • 为产品创建初始文档 [大卫杰布]
  • 从现有拼贴布局发展的初步观点,混在一起 从collective.contentLeadImage查看 [大卫杰布]
  • 初始版本

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

推荐PyPI第三方库


热门话题
java二进制到十进制   使用GSON时发生java非法状态异常   java ImageJ API:如何将一个图像插入另一个图像   java使用ajax从servlet获取价值   每个容器每个bean的JavaSpring单例作用域   VTD XML查找重影/不存在路径时出现java错误   RPC方法调用中的java Nullpointer异常   java使用索引排序是否有效   安卓 java中Json类中get和getJSONObject的区别是什么   java为什么要添加系统。出来println能让线程运行得更快吗?   java标识符预期问题   反射可以在Java中反射私有静态方法吗   Java SonarQube错误“最终公开静态字段”   终端一直在请求输入?[爪哇]