内联编辑结果
我正在以 draggableviews 样式返回我的视图。在底部你有一个保存订单。这显然必须设置我的权重 CCK 字段。是否也可以更新列?理想情况下,您将能够编辑通过自由文本或下拉菜单返回的列。
听起来我想我可能需要自己编写一些代码。
I am returning my views in the style draggableviews. At the bottom you have a save order. This obviously must set the CCK field I have for weight. Would it be possible to update over columns as well? Ideally you would be able to edit the columns returned either by free text or drop downs.
By the sounds of it I think I may need to code something myself.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来,您将需要编写一些代码。幸运的是,DraggableViews 模块就是一个例子。
您可能还想了解一下 Views Bulk Operations,My-Views 世界中的 10,000 磅重的大猩猩-改变事物。
如果您希望draggableviews拖动操作直接设置多个字段,听起来您需要访问它的问题队列,发布请求,并准备提供补丁。在我看来,您需要的是draggableviews 中的一个钩子,它允许您指定附加字段和回调函数,以了解如何在拖动过程中更新它。
By the sounds of it, you will need to code something. Luckily, the DraggableViews module is there as an example.
You might also want to look into Views Bulk Operations, the 10,000 pound Gorilla in the World of My-Views-Change-Things.
If you want the draggableviews drag-action to directly set multiple fields, it sounds like you need to visit it's issue queue, post a request, and be prepared to offer a patch. It sounds to me like what you need is a hook in draggableviews that allows you to specify additional field and a callback function for how to update it in the course of dragging.