加载中...
druapal views使用体验
发表于:2009-11-07 | 分类: 网络应用 drupal
字数统计: 321 | 阅读时长: 1分钟 | 阅读量:

刚开始安装上views没弄明白怎么回事,其思路没有领会,也没什么好印象,不过据说这是非常有用三大模块之一,后来,在自己定制页面显示的需求下,又再次have a try,初步领会和接受了views 其思路是:添加字段,建立过滤/排序条件,定义显示方式 同一类型可建立多个页面,设置有些地方如果不让所有页面都一致采用默认的,需要override 在这期间接触到了一个实现拖动效果的DraggableViews,该模块是增加了一种字段类型,要首先添加它提供的order字段,然后必须在排序方式中定义按照order排序,实现了自定义拖动显示

..makes views draggable

The DraggableViews module can be used to organize simple lists and complex structures via drag n’ drop. The configuration is quite easy as you just have to access the style-plugin settings.

If you want it QUICK

  1. Navigate to the edit-page of an existing view.
  2. Add the field “Draggableviews: Order” at the Fields section.
  3. Now change the Style-plugin at the Basic settings section to Draggable Table and enter the Style plugin settings.
  4. Scroll down to the Draggable Table settings and choose the Order field you added just before. Choose “Native” handler.
  5. Save the settings. You’ll be prompted to sort the view by the Order field. Save the view and you’re done.
上一篇:
drupal分类术语管理总结
下一篇:
采用开源系统的好处
本文目录
本文目录