AMFPHP

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

Please help me with Services

Hello everybody! I am flash-developer and total newbi to Drupal. I have book "Flash with Drupal" by Travis Tidwell and I want to learn to develop flash apps with Drupal as back-end. So I installed Drupal 6.26 then several modules. So I have installed Chaos CTools 6.x-1.9, flashNode (6.x-3.1), Services (6.x-3.1), AMFPHP (6.x-1.0-beta2) and Views (6.x-2.16). I did all like was in the book, and everything was OK, no Error messages etc, but after installing Services, I’ve found in this module no services (in the book there was File service, menu service, node service etc).

Read more
martinbedouret's picture

Attach an image when node is created using AMFServer

Hi all,
I'm using drupal 7 and AMFServer (in services 3.0) to create node content from a Flash Client.
I'm able both to upload files and create nodes separately without problems, doing two different service calls (one to "file" service and another to the "node" service).
But I'm not being able to create a node with the a "File" field and attaching the file in the "node create" service call.
Is it possible to do that? I need to have the file "attached" to the node, instead of a node and a file in a separate way.
Thanks,
Martin

Read more
LuckyBamboo's picture

Services module uses session ID instead of node ID when node.get is called by Flash

Hi
I'm trying to use the services module to connect Flash to Drupal. I followed some examples I found online as well as the example included in the book "Flash with Drupal".

I can connect to Drupal via Flash and get my Session ID but for the life of me I can't get the node.get call to work. I keep getting the error message: "Could not find the node".

Here is how I call node.get to try and get node 1 (which of course does exist!)

var nodeResponse:Responder = new Responder ( onNodeLoad, onError)
// call Drupal to get node
drupal.call("node.get", nodeResponse, sessionID, 1);

Read more
BOGUƎ's picture

ZendAMF's new playground

ZendAMF, a new server component to the Services module opening the Drupal doors to the Flash world, is moving into its new sandbox.

Read more
vizint's picture

Flash Front End for Quiz Module

I'm updating a Flash based front end so that it will work with the Quiz module (6.x - 4.0) that works with the Quiz, Services, AMFPHP, and custom modules.

I'm struggling with some of the queries within my custom module that pull the questions and answers from the Quiz tables. I'm trying to make sure I've got the latest VID for each Question and Answer.

Here is the query:

SELECT quiz_node_relationship.parent_nid,
quiz_multichoice_answers.answer,
quiz_multichoice_answers.question_nid,
MAX(quiz_multichoice_answers.question_vid) AS MAX_question_vid,

Read more
rolf vreijdenberger's picture

download of presentation and code from a session on integrating flash and drupal at the adobe usergroup xl event

Hi guys,

yesterday I spoke on the dutch adobe usergroup XL event, an annual event in the netherlands for the adobe platform, on using drupal as a content management system for your flash, flex and air applications with the help of our opensource package. I've made all the presentation files available online.

Read more
simonwidjaja's picture

Howto resolve related data in output (not just IDs) for views?

PLEASE HELP: When calling a complex recordset from Flex or in the Service Browser of drupal I always get the foreign key of the related objects - but not the object data itself. In many cases that makes sense (lazy loading etc.). But for simple data exchange it might be easier to simply get a complex generic object with arrays that holds ALL the data, so my Flex client doesn't need to know about the actual data structure. HOW? (see screenshots)

Read more
stri_berry's picture

What did heyrocker say about the servers in services 3

I was listening to the presentation by heyrocker. He said that there's a plan to update or re-write the REST server and move it into services core.

1) Can we expect the same thing for the amfphp server by the amfphp module, and other servers as well?

2) Does that mean we won't need to download each server individually and add it into the servers folder with the xmlrpc folder? because that would be awesome.

Read more
TommyJ's picture

Services + AMFPHP second node returns false

I have installed services + AMFPHP and views to use drupal content in my Flash website.
Everything works perfectly. The view gets the right nodes and AMFPHP sends the object to flash.

However, my 'news' view returns the two news nodes I created perfectly in Drupal (services -> views.get as well as the live preview on the views page).
In Flash, I only get the first node, and the second node returns only 'false'.
What could be the problem??

Read more
waldmanm's picture

Any sample Flex code for displaying taxonomy terms in tree control?

Hi,

I'm looking to display a multi-level taxonomy tree in a Flex app using the tree control, as a first step for more advanced functionality. Being new to Flex and to services/amfphp, I was wondering if anybody has some sample flex code that uses the taxonomy.getTree service and translates the returned array into something that can be displayed in Flex. I say "translate", because looking at the returned array it doesn't seem to be what Flex would be expecting (though I might be wrong here).

Thanks in advance for any pointers.

Micah

Read more
Subscribe with RSS Syndicate content