国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal 7.X/6.X模块介绍:Display Suite拖放式排版/布局管理模块

[复制链接]
发表于 4-23-2012 12:11 | 显示全部楼层 |阅读模式

这两天正计划抽时间研究下Panels,希望之翼介绍了个布局设置模块,貌似很不错,先发帖,再研究:

--------------------------------------------------------------------------------------------------------

Layout on Field UI: _8 L1 e: f; V1 r


Display Suite

Layout on Field UI

Display Suite allows you to take full control over how your content is displayed using a drag and drop interface. Arrange your nodes, views, comments, user data etc. the way you want without having to work your way through dozens of template files. A predefined list of layouts (D7 only) is available for even more drag and drop fun!

Display Suite【显示套件】允许你如何使用拖放界面,显示您的内容进行完全控制。安排节点,意见,评论,用户数据等您想要的方式,无需通过几十个模板文件,您的工作方式。一个布局的预定义列表(唯一的D7 : W y; e' s8 l5 ~. n )为更拖放乐趣!

By defining custom view modes (build modes in D6), you can define how one piece of content should be displayed in different places such as teaser lists, search results, the full node, views etc.

通过自定义的视图模式(Drupal 6下) * E* @5 Y1 T$ N; i, T5 A,您可以定义内容之一的,应如何显示在不同的地方,如teaser列表,搜索结果,全节点,views等

Watch a screencast to see it all in action!

Advanced options/高级选项

  • Exportables/出口
  • Add your own custom fields in the backend or in your code
  • 在后台或在您的代码中添加您自己的自定义字段
  • Add custom layouts in your theme (D7 only)
  • 在你的主题添加自定义布局(仅Drupal 7可用 )
  • Change labels, add styles or override field settings (semantic fields).
  • 更改标签,添加样式或覆盖field设置 。
  • Full integration with Views and Panels
  • 全面整合的意见和面板
  • Extend the power of your layouts by installing Field Group and Renderable elements (D7 only)/推广自己的布局安装现场组和渲染元素 5 O( R. J# d1 m7 b4 \仅Drupal 7可用  )
  • Optimal performance with/最佳性能 Object cache (D6) or Entity cache (D7) integration

Drupal 7

For Drupal 7 all functionality has moved into this module. This includes support for nodes, users, comments, terms, search, Views displays. All in one package, less code, even more power!

为Drupal 8 C A% ]1 D- ?* _7的所有功能已经进入这个模块。这包括节点,用户,评论,terms,搜索,Views displays的支持。所有在一个封装,更少的代码,甚至更多的功能!

Modules included/模块包括:

  • Display Suite: The main module to rearrange your fields/主模块用来重新安排你的fields。
  • Search: extend the search results for Drupal core or Apache Solr/扩展Drupal核心或Apache Solr的搜索结果。
  • Extras: extra functionality like field templates, panels editor on view modes, region to block, semantic fields, hide page title etc/额外的功能,如字段模板,编辑面板视图模式,地区封锁,语义场,隐藏页面标题等。
  • Forms: style the layout of forms/布局风格。

Differences between the 7.x-1.x and 7.x-2.x branch are documented athttp://drupal.org/node/1524800. New features will only go into the second branch, bugs will be fixed in both, if applicable. The most important difference however is this: do notupgrade from 1 to 2. It will break your layouts and configuration.

The Drupal 7 version requires the Chaos Tool Suite also known as CTools.

Drupal 6

This is an API module and won't do anything without the addition of one or more modules that implement it. A list is available at http://drupal.org/node/644662.

The 6.x-2.x branch is the recommended 6.x branch, includes support for CCK3 multigroups, database storage and performance improvements, some minor UX improvements, as well as many internal API changes. This is a recommended upgrade if you have a lot of displays, as it moves display storage out of the variables table. If you have only a couple of displays or a low-traffic site and do not need multigroup capabilities, you can remain on 1.x, however (other than security updates) there will be no further fixes or new features committed to that branch.

More information is available in the Display Suite group.

How to upgrade

  1. Clear your cache, revert any features with exported displays
  2. Backup your database
  3. Check that your build modes do not have names longer than 64 characters (and ~50 chars for Views displays)
  4. Download and install Display Suite 6.x-2.x and the latest versions of other DS modules
  5. Run update.php
  6. Check that 2.x is working with any other modules which implement Display Suite

Support for Tabs was accidentally dropped in 6.x-2.x, and won't reappear till the 6.x-3.x release. If you have a small number of displays, you may wish to remain on the 1.x branch.

The 6.x-3.x branch is unstable, may not work at any given time, will change its API and may not have an upgrade path. You have been warned!

Information

All info, links to compatible or API integration modules, articles, screencasts etc. can be found on the documentation pages. There is also a group on groups.drupal.org to discuss new larger developments, post use cases etc.

All in one

There is a profile available which includes all modules in one package, seehttp://drupal.org/project/displaysuite.

Project Information

Downloads



国外设计论坛 www.DOOOOR.com 翻译整理,谢谢!

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-12-2025 12:19 , Processed in 1.751546 second(s), 166 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表