Views ans files datas

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

Hello,

I'm trying to build flash news with text and image, using CCK, Views, Services, AMFPHP and Drupalsite classes in a simple Flash AS3 document.

Everything work's fine except the files name and path.
When I call the views.get method in the Services Browser, I get this :

Array
(
    [0] => stdClass Object
        (
            [nid] => 24
            [node_data_field_news2_image_field_news2_image_fid] => 26
            [node_data_field_news2_image_field_news2_image_list] => 1
            [node_data_field_news2_image_field_news2_image_data] => a:1:{s:11:"description";s:0:"";}
            [node_data_field_news2_image_nid] => 24
            [node_type] => news2
        )

    [1] => stdClass Object
        (
            [nid] => 25
            [node_data_field_news2_image_field_news2_image_fid] => 27
            [node_data_field_news2_image_field_news2_image_list] => 1
            [node_data_field_news2_image_field_news2_image_data] => a:1:{s:11:"description";s:0:"";}
            [node_data_field_news2_image_nid] => 25
            [node_type] => news2
        )

)

I'd like to get something like that :
http://groups.drupal.org/node/19933

I don't understand what I'm missing...

Thanks for any help,

Red

Comments

solution for names and path...

jaren's picture

I had the same problem.

Have a look at http://drupal.org/node/305155.
Use the views-service.patch in #3 and you will have the data format of http://groups.drupal.org/node/19933

regards, jaren

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: