[development] No module-defined node types?
Mark Fredrickson
mark.m.fredrickson at gmail.com
Fri Jan 5 16:29:37 UTC 2007
On 1/5/07, Chris Johnson <cxjohnson at gmail.com> wrote:
> Feel free to further "educate" me. :-)
My pleasure. :-)
If you find yourself just trying to wrap common data (text, node ids,
dates) considering using CCK widgets.
Widgets are the user interface that get data into a well formed state
for storage in a field. A field can have many widgets (they are easy
to add via additional modules). Eg. for nodereference, there is a
select form widget and an autocomplete based on title widget. I
recently created a widget to use Views to select nodes - way cool.
It's an easy way to add value to existing data types, without writing
your own field from start to finish.
So, is your data unique (ie. it nees special storage) or is the user
interface to your data unique (ie. you could use widgets to replace
your custom behavior)?
-M
More information about the development
mailing list