产品视图。用来自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为什么@DELETE REST不起作用?   带有JPA2的java表值参数。1和Hibernate,Sql Server   如何将Java类添加到Xamarin VS2017项目   绘制多边形时出现java空指针异常   java Apache WebClient 303状态未重定向   java如何用一组字符串数组从数据库中获取数据   java是否可以使用Google Drive API向文件中添加脚本?   java组织。阿帕奇。贾斯珀。JspC jar文件下载   java在整个JSON映射中将单个值作为JSON流   通过命令行将文件输入到java   java rs.next()总是返回false   java标记异常,通知调用方利用异常消息   java Spring YML数组属性为空