json

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

Guardando campo tipo date con JSON mediante SERVICES

Hola gente, llevo varios días intentando guardar un campo fecha (con JSON) que tengo en un nodo , y por algún motivo en la bd se guarda de forma incorrecta (el campo, porque el nodo y el resto de campos si los guarda bien). El json he probado a ponerlo de mil maneras, finalmente decidí que el tipo de fecha fuera timestamp, pero aún con esas se sigue guardando mal en la base de datos:

He probado mil formas

"field_calendar":{
"und":{
"value":{"date":"1419597000"}

  }

},

"field_calendar":{
"und":{
"value":{"datestamp":"1419597000"}

Read more
greg.harvey's picture

Two new Redmine modules potentially of interest

I've just released a pair of modules I developed while working on our Drupal front-end dashboard for our Drupal support services, which use Redmine at the back. Might be of interest to group members:

API - https://drupal.org/project/redmine_rest_api
And example - https://drupal.org/project/redmine_issues

Read more
lisa.rae's picture

Documentation for data requirements for creating nodes through the JSON Restful Server (Services 3, Drupal 7)

We have a project to complete for a client that involves setting up a restful web service backend for a set of mobile apps for Android and iOS. We have elected to use Drupal as our restful server and utilize the JSON service available through Services 3 along with the spyc library.

Read more
Anonymous's picture

Integrating #Drupal with a 3rd party service via JSON

Title says it all really, along with last minute http://BADCampUK.net organising I'm writing a module to integrate with a 3rd party service via JSON. Would love to swap notes with anyone who's done similar!

Read more
el_reverend's picture

Drupal, theming, templating, and some flash

Hi all,

I have a question that, without a doubt will make some of question my sanity, primarily since I am dealing with Flash. Ok, breathe...

I am tasked with adding a responsive site for tables and mobiles and an international (i18n) management platform to our web sites lineup. Currently, our main consumer site is built in Flash and and utilizes a custom CMS that everyone is familiar with (marketing ppl).

Read more
stilllife00's picture

How to send an Image to a Drupal Services 3 endpoint using json

Hi all!
I'm having a trouble during a simple Android application development. I'm trying to add a simple News on my Drupal site from the Android application. I created a new content type called "News" with 2 strings (title and body) and a Image field. I sent to my site a title and a body and it works correctly using JSONObject class.

Read more
dereckd's picture

Configuring Services for consumption by external site.

I'm looking to create an api for my site where another site can consume and display certain data from my site. Ideally I would like to limit access to only those domains that have applied for an API key. I also am think that the JSON server makes the most sense. I've tried to go through the documentation, but there are stil a number of think that are not clear.

Read more
johdax's picture

json data expose to views

I have a custom CCK compound field, which stores a hierarchical multidimensional tree in json in a field type. I now want to expose this data to views, but in flat way (table with parent relationships).
Any help with how to implement views_data is appreciated.
kind regards, thanks in advance

Read more
peteralex's picture

JSON server - problem att få "node.save" att fungera med cck-fält

Hej!

Testar att använda Drupal som backend server där jag sparar information via jQuery Ajax anrop mot JSON servern.
Jag har problem att få 'node.save' att fungera med cck fält och undrar om någon av er som lyckats bättre.
Följande node objekt fungerar:

 {"type":"mytype","title":"My Title","uid":1,"name":"admin"}

Men försöker jag lägga till ett cck fält så får jag problem. Exempelvis följande node objekt lyckas ej sparas:

{"type":"mytype","title":"My Title","uid":1,"name":"admin","field_author":"[{\"value\":\"Sigge\"}]" }

eller:

Read more
JayCally's picture

Passing data to a new page

I am pulling in data from a Drupal JSON service and displaying in a tableview. Working great. When you click a row, the full node is displayed in a webview. Works good but I'd like to display the node in the app instead of a webview. I tweaked things and now when you click a row, a new page loads which gets the node with node.get service.

Read more
Subscribe with RSS Syndicate content