Questions tagged [8]

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

How to customize the data retrieved by a REST call?

I've enabled the REST server (plus services) and can retrieve user profile data at www.example.com/endpoint/user/123 How can I customize the data that's being retrieve? I want to not include the ...
5
votes
1answer
108 views

Is there a firm or preliminary decision on which modules will leave Core for 8?

I seem to recall I've seen a more than one discussion about breaking out certain less than maintained modules from Core. They would presumably be moved to contrib instead. Currently I can't find any ...
1
vote
2answers
122 views

Would a cached page in Drupal 7 be considered, solely by definition, RESTful?

I'm thinking about how to explain the definition of a RESTful interface and am wondering if a cached page in Drupal would, purely by definition be considered RESTful: http://en.wikipedia.org/wiki/...
0
votes
1answer
1k views

Does RESTFul server running with services module really support multipart/form-data request parsin?

I have been trying for a long to get a file upload to work from my lisp application using an HTTPPost. I am running the services module on Drupal 7 with the a RESTFul server (with the file resource ...
5
votes
1answer
2k views

How can I PUT a new file to a node using services 3 without overwriting the existing file?

Using Services 3 I have it working fine to add a file using endpoint/file {"uid":"1","filesize":"99999","filename":"whatever.bin","file":"BASE64_ENCODED_DATA"} and also to add a node with that file ...
3
votes
2answers
1k views

Using REST API for data storage for user definable content

I might be barking up the wrong tree completely however I am trying to achieve the following. Drupal 7. Custom REST web service which can hold user definable content types. These pieces of content ...
1
vote
0answers
94 views

How to best store and expose external route based location data for use in views/charts/openlayers?

I have a large amount of different route data (hundreds of thousands of different location pairs per week and some accompanying data for each pair such as datetime, speed, direction) that I am parsing ...
2
votes
3answers
615 views

drupal 7 restful server VS seperate Restful server to access mysql. Can a restful server be on a subdomain

I am trying to figure out which would be easier to setup and maintain, while keeping the speed average or better. I have setup a Drupal 7 site on godaddy with their Deluxe 4GH hosting plan. What I ...
2
votes
0answers
112 views

REST server or other way to do a password reminder

I see in the services 3 module that there is not a password reminder functionality yet although it has been discussed. What I want to know is whether there is any other way that I can call for the ...
10
votes
5answers
6k views

Creating comments and nodes with Services 3.x and JSON

I'm having trouble getting services to recognize a POST to /comment.json. I have a similar issue with creating nodes as well. The following is the error I get: HTTP/1.1 406 Not Acceptable: Missing ...
0
votes
1answer
718 views

Populating file fields with an http-request with the Services module and a REST Server (Drupal 7)

I need to add content trough a node.create and one of the fields in the content type I am adding is a file field. So far I have been able to get my Services module set up with REST server to accept ...
1
vote
1answer
271 views

Trouble populating text field widget while executing node.create through Service using Rest server (Drupal 7)

I have a Rest server running using the Services module which is setup to receive node and user requests. I have also created a new content type with the following fields: I am able to add new ...
0
votes
1answer
5k views

Trouble with session ID and Drupal cookies when trying to establish a connection with Service Module and http-post

I am trying to complete an http-post between my common lisp application and my Drupal Site running Services and a Rest server. Currently I have my rest server set up to accept user login, and using ...
23
votes
7answers
64k views

How do I clear cache using an SQL query?

After a module update, my site has become unusable, and only shows a php error message. I tried circumventing the problem with drush cc, but that didn't help. Also tried with a custom php script but ...
1
vote
1answer
930 views

Add Object in json file generate by services module drupal

I need some help about this problem. I need to add object that encompasses the hash of my json file. I use services module in drupal 6 for generate xml and json file from my nodes. So, when i view my ...
2
votes
2answers
2k views

7.10 Getting node as authorized user via Services 3 and REST

I am new to Drupal. My goal is to use it for staff to manage their own content, then retrieve their content from nodes via REST to the existing public website. Using Drupal 7.10, Services 3. Drupal ...
5
votes
3answers
5k views

Problem installing REST Server module

When I attempt to enable the REST Server module, I get the following error message: A library is missing for rest_server to work (Currently using Missing library Please download spyc and create a ...
5
votes
4answers
4k views

How to make a wishlist button and page [closed]

How can we possibly add a user-specific wishlist feature associated to a drupal content type ?
0
votes
3answers
166 views

How to execute custom code on user signup

I need to do a REST request every time a new user signs up. The REST request returns some data that I need to store for the Drupal user account, and be able to present as content somewhere. What is ...
4
votes
1answer
2k views

How does the service module work?

i am using drupal 6 and services 6.3x module but i am unable to use this module completely. I have enabled rest server module also. I added a new service and added resources to it. I added node ...
18
votes
9answers
45k views

Create template file for views block

There is a lot about theming custom blocks, but what about blocks created by views? My views block has id: block-views-posts-listing-block, I try many ways for naming template file, ex: block--block-...
4
votes
2answers
4k views

Drupal 7 services json node object

There seems to be a problem with the Services module of Drupal 7 when submitting nodes using the node create reosurce, for example I can create nodes just fine, even with custom fields, but the ...
20
votes
3answers
3k views

Which contributed modules are being moved into Drupal 8 core?

There were a significant number of D6 modules (or versions of) that were pulled into D7 core. I am wondering if there are any for D8?
3
votes
2answers
2k views

Creating a node using Services 6.3 REST

I am trying to create a node using the rest service. I am hitting /myendpoint/node using a post. My header is application/json. I am not sure what I need to post as the data.
1
vote
1answer
6k views

Simple REST request to create nodes

I'm having the following issue trying to create nodes from Drupal 7 to a Drupal 6 install. The target Drupal site is running Services 3.x. Here's my code: $base_url = $params['path']; $data = array(...
11
votes
2answers
18k views

Preprocess variables only for certain blocks

Is it possible preprocess variables only for certain blocks? I have created such function: mytheme_preprocess_block__aggregator(&$vars) but it doesn't works. -- EDIT -- It seems to be fixed in ...
6
votes
2answers
1k views

Programmatically insert webform result

I'm using drupal 6 with the webform module installed. I need to be able to remotely POST, from PHP results to a webform. Pseudocode: <?php //File: ...

1
295 296 297 298
299