产品视图。用来自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中的PDF文件   linux Java打开文件,形成实际用户主页~/   java如何在时间线内维护TableView选择?   java Hibernate注释@Where vs@WhereJoinTable   Java读/写访问异常FileNotFoundException(访问被拒绝)   继承在Java中是否可以扩展最后一个类?   Android HttpClient使用java使应用程序崩溃。lang.OutOfMemoryError:pthread_create   java为什么即使我在proguardproject中添加了jar文件,也会出现这种错误。txt?   如果添加JButton,swing Java FocusListener和KeyListener将无法工作   java使用solrj检索json格式的SolrDocument   使用Microsoft Visual Studio代码进行Java编程   java NoClassDefFoundError:org/apache/log4j/Logger   哈希集中包含相等对象的java   java中的参数化构造函数是否需要有一个主体?   java类似于NetBeans不必要的代码检测器   Java实践问题   java Blackberry“[projectname].调试文件丢失”和“I/O错误:找不到程序”jar