Drupal 6 中的测量表 [英] Measurement sheets in Drupal 6

查看:24
本文介绍了Drupal 6 中的测量表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Drupal 6 中为一家测量公司做一个项目.最终,员工需要将测量值输入到新的内容类型中.目前,他们在一个大型 Excel 电子表格中执行此操作,该电子表格有一堆宏可以在单元格之间进行计算(米到英尺、m^2、一些定价内容).

I'm doing a project for a surveying company in Drupal 6. Ultimately, employees will need to enter measurements into a new content type. Currently they do it in a big Excel spreadsheet that has a bunch of macros to do calculations between cells (Meters to Feet, m^2, some pricing stuff).

我的问题是:如何在 Drupal 6 中最好地复制此电子表格的功能,请记住,使用此系统的员工收集的数据量因项目而异(即,3 层楼与 1 层楼与地下室;等).

My question is: How would one go about replicating the functionality of this spreadsheet best in Drupal 6, keeping in mind the amount of data the employees using this system gather varies between projects (I.e., 3-floor house versus 1-floor with basement; etc.).

目前我有两个想法:

  1. 创建一个新的内容类型并用 CCK 字段填充它.使用 Sheetnode 的 CCK 功能删除 Sheetnode CCK 字段以准确复制电子表格.使用视图以其他方式显示此数据.

  1. Create a new content type and populate it with CCK fields. Use Sheetnode's CCK functionality to drop Sheetnode CCK fields to replicate the spreadsheet exactly. Use Views to display this data other ways.

创建一个新的内容类型并用 CCK 字段填充它.使用 Views(可能还有 Views Calc 之类的东西)来获得不同的测量值.

Create a new content type and populate it with CCK fields. Use Views (and possibly something like Views Calc) to get varying measurement values.

也就是说,我对这两种实现之外的建议完全开放.

That said, I'm completely open to suggestions outside of these two implementations.

谢谢!

推荐答案

这似乎是http://drupal.stackexchange.com 是为...制作的

This seems like the kind of question http://drupal.stackexchange.com was made for...

我最终使用 jQuery、Measured Value Field 和 Flexinode 完成了这项工作;请参阅:使用 jQuery 和 Drupal6 自动更新宽度/长度/区域

I ended up doing this with jQuery, Measured Value Field and Flexinode; see: Auto-updating width/length/area using jQuery and Drupal6

这篇关于Drupal 6 中的测量表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆