service

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

Drupal 5: Flag integration?

Hi all!!

I need to integrate the flag module to services module in Drupal 5.

Yes I know that Drupal5 is too all but I'm doing a concepto test of my project, then in the near future I have to migrate to Drupal7.

If there isn't such integration, where I can read some documentation for developing such a module for Drupal5??

Thanks!

Read more
simonwidjaja's picture

Passing Arguments for a filter to a view (views 3) in code scenario?

Hi Drupal Friends,
I am working on a Views 3 Project and I'm stuck with this issue:

So far:
A Service-Method that reads a view and returns the results:
$products_result = views_get_view_result($viewName);

Goal:
Now I want to add a filter (default or contextual???) for setting the maximum price (e.g. "maximum price": field_price < max_price)

Problem:

Read more
mama21mama's picture

boton diaspora en el modulo service links

hoy diaspora oficialmente con este mensaje "Publica en Diaspora donde sea agregando a tus marcadores este enlace."

y este era el code del enlace.

Read more
noobizness's picture

odd message from service

I am calling Drupal XML-RPC services using Zend_XmlRpc_Client::call() and getting the following feedback:

Read more
datashaman's picture

CCK field names in JSON service results

When using the block display in views to generate a JSON object for the services module, specifically the views.get method, the names (and hence keys in JSON) generated are decidedly unfriendly.

For example:

{"#error":false,"#data":[{"nid":"56","node_data_field_identifier_field_footer_value":null,"node_data_field_identifier_field_footer_format":null,"node_type":"page","node_vid":"159","node_revisions_body":"","node_revisions_format":"2","node_revisions_teaser":"","node_title":"Career Advice","node_revisions_timestamp":"1266478559","node_data_field_identifier_field_whatsthis_value":"<p>Our career advice section provides you with excellent articles that can help you improve your career.<\/p>","node_data_field_identifier_field_whatsthis_format":"2"}]}

In the above case, I've attached a CCK field 'footer' to the content type, and the view is being accessed with an argument of field 'identifier'.

This wouldn't be so bad if it was consistent in its naming. Here's another example:


[{"#error":false,"#data":[{"nid":"113","node_data_field_footer_field_footer_value":null,"node_data_field_footer_field_footer_format":null,"node_type":"article","node_vid":"213","node_revisions_body":"

Read more
toemaz's picture

Running Solr as a service on Debian

I was looking for a way to run Solr as a service on Debian. Ez Publish CMS has some interesting scripts in their svn repository http://svn.ez.no/svn/extensions/ezfind/ezp4/trunk/extension/ezfind/bin/s...
http://svn.ez.no/svn/extensions/ezfind/ezp4/trunk/extension/ezfind/java/

I used the solr script from the first link together with the solr.sh in the second, followed the instructions in the solr script and it works well.

Somebody another or better solution?

Read more
Subscribe with RSS Syndicate content