Closed meganem closed 10 years ago
Example from Elijah:
{ projectref: 17, presentationid: 50013, presentationTitle: "My Cool Presentation (2)", introSlideType: 1, introSlideTitle: "Blah blah", introSlideContent: "Blah blah blah", introSlideImage: "/myImage/image.jpg", endSlideType: 1, endSlideTitle: "Blah blah", endSlideContent: "Blah blah blah", endSlideImage: "/myImage/image.jpg", slides: [ {order: 0, nid: 17, slideType: 1}, {order: 1, nid: 5, slideType: 3} ] }
@emeeks I've uploaded a JSON file to the JSON folder. Check it out and let me know what you think.
We have to use quotes around the integers because I don't have a way to create an integer field in Drupal, just plain text fields.
I guess since we are storing the slides data in a plaintext field in Drupal, we could change the way those are displayed to use integers instead of strings, since we are not planning to store each element of that array in the database in Drupal (just the block of text for the whole array).
Thoughts?
we are done for now.
So we can test it.