Questions tagged [8]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
925 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 ...
0
votes
3answers
156 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 ...
19
votes
9answers
44k 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(...
9
votes
2answers
17k 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: ...