D7 services - how to pass through parameters?

How can I give a parameter with D7 services?
I have mysite.com/my_endpoint/nodes which give me all the nodes, but I want only nodes of a certain type and not older then a week, so I have to find a way to pass through 'type' and 'created' parameters.

how can I do this?
kind regards
Natascha

D7 Node Time limits

Hello all,

I am seeking a solution to allow nodes to expire after say 60 days.

I currently have it working in D6 with Node Expire module. I am curious to know if there is some way I can get this same functionality out of Drupal7.

after searching the forums and groups, I may have found a way to set rules to achieve this. But, in my attempts to do so, I have failed.

Please, any advice would be great.
Thanks.

Adding CSS to menu's in blocks

I am struggling to work out how to add my CSS class to a new menu I have added to a block. I have a region called First Sidebar, the menu is called Left. Is there a specific format for adding the menu CSS?

Thanks all,

Ashley

Not sure what this error is

I'm not sure what this is, or where in this forum I should have posted this (sorry if in the wrong area), but it pops up here in there in some of my Admin pages.. the last time in Modules.

How to make a general entity history handling

As I first reported an issue/feature request about general entity history, I realized that I actually would need it right now. So I proceeded to make a proof of concept in order to update my issue. But instead of updating the issue I figured that my post better belongs here in a forum where maybe more people could take part of it and I could get some more feedback.

Please see the background of this topic before continuing: #1029708: History table for any entity

First of all I took the system history table as a starting point and split the 'timestamp' column into 'first_read' and 'last_read' in order to determine if the entity has been seen since last update.

<?php
$schema['oddbit_entity_history'] = array(
'description' => 'A record of which {users} have read which entities.',
'fields' => array(
'entity_type' => array(
'description' => 'The viewed entity type.',
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => ''
),
'eid' => array(
'description' => 'The id of the entity.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'uid' => array(
'description' => 'The {users}.uid that read the entity id.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'first_read' => array(

Battle of the Bands - using Views

Hi. I'm trying to build a battle of the bands site for a friend where people can vote on different bands. Basically, I've got Drupal 7 installed and I've created a content type called 'Band' with all the fields I need. I have three questions, and any help is very much appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x