[development] image node type

Adrian Rossouw adrian at bryght.com
Sat Dec 10 18:32:11 UTC 2005


On 10 Dec 2005, at 8:19 PM, Larry Garfield wrote:

>
> I think some of this needs to be pushed down into the node module  
> itself.  For
> instance, hook_view() currently has only two "modes": teaser and  
> not.  If a
> node could define additional view modes, then an image node could  
> specify
> "fullsize", "thumbnail", "resize1", "handheld-optimized", or  
> whatnot.  Then
> it could be accessed with:
>
> node/123/fullsize
> node/123/thumbnail

node/123/edit

the form is just a view of the object.

You can create lists using any of the views.

Hence the view api =)


--
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com




More information about the development mailing list