CCK imagefield

Events happening in the community are now at Drupal community events on www.drupal.org.
gateway69's picture

The mystery of node.save and how to save more of a complext node with cck fields

Over the last few days I have been trying to figure out how to properly use the services node.save function to save more than just a simple content type such as story which has just a title and a body. This I can do w/o any issues. The issues that im trying to figure out is when you have a content type lets just say only these fields right now

content type photo
* title
* body
* field_my_photo -- cck imagefield

--- fid i already had from file.save

Read more
shushu's picture

Face.com open API and Drupal

Hello,
Reading about Face.com's new open API, I got a strong urge to jump on the new capabilities and make it happen for Drupal.

As I see it, several features can be done to make it very interesting:

  • Whenever user upload a picture to imagefield CCK, it can be sent to face.com for searching.
  • User can get notifications when new photos of him available in the site
  • Suggest communication between users that are seen in the same photo
  • And so on...

    Read more
    el_reverend's picture

    Check for value in filefield

    Is there a way to check if a file or files have been uploaded in a content type? I'm trying to determined if a picture has been uploaded.

    I have tried to check if a filefield contains a value, but I am getting an error message that my argument #2 is not an array in the cck content.rules.Inc file.

    Any hints? How can I do that with php?

    Read more
    Erco-gdo's picture

    Best practice to re-assign the content of a cck imagefiled, while changing the content_type of a node

    In a project, I have 2 content_types (A & B), each one having a CCk imagefield defined (not shared).

    I need trigger a rule that I will change the content type of a given node (from A to B).

    During that operation,
    I need to gather the data stored in the the CCK imagefield defined for Content_Type A (ok, this is done before content_type "upgrade").

    Then, I'm wondering what is the best practice to store those data in the CCK imagefield defined for Content_Type B.

    To keep in simple, I plan to have 2 imagefields setup with the same parameters, but the name.

    Read more
    Subscribe with RSS Syndicate content