enzo's blog

Unofficial RestServer Documentation to create webservices with Services 3.x with Drupal 7

Hello folks

If you are getting issues trying to implement custom webservices in Drupal 7 with Server 3.x, maybe this information will be useful for you.

The most common problem is to define which resources will be availble in your module. This resources must be defined implementing the hook_services_resources() in your module.

Now this resources will depend on the number of parameters you need and the method you need to use GET or POST.

How to create and update a Field Collection Programmatically in Drupal 7

Hello folks

As you know one of biggest changes in Drupal 7 are entities, now all is an entity in Drupal. If that was not enough there are also field collections, used to group fields and present as a new entity.

The biggest challenge for developers is how to work with Field Collection programmatically for CRUD Operations.

Today I will explain how to Update and Create Collection Fields programmatically.

How to add a Hierarchical Select field with FAPI for Drupal 7

Hello folks

Today I will share with you the way to add a taxonomy term field in a custom form for Drupal 7, using Hierarchical Select as widget render. 

In this example we will use a taxonomy/vocabulary to present all hierarchy.

Requirements:

  • Drupal 7
  • Taxonomy module
  • Hierarchical Select

Creating a form field:

How to install Drupanium

Hello folks

Today I will share with you how to install Drupanium.

1. What is Drupanium? 

Drupanium is:

Interview about the experience of implementing Drupal to the Site www.lacurevillas.com

1. What kind of site was needed by the organization (blog | e-commerce | news | social network | other)?

We needed to redesign our site, which is basically a large database of property rental listings with some advanced search features.

2. What was the LacureVillas situation before implementing Drupal?

We had a custom built php site, whose limitations included an outdated graphical user interface as well as some structural problems (coding) that prevented us from effectively optimizing it for search engine placement.

Troubleshooting : Installing Mercury for Drupal in Linode.com

If you are linode user and you are trying to install StackScripts: Pantheon Mercury | Default Drupal LAMP recently , probably you are getting errors, that is because the karmic version of Ubuntu was moved to old-releases, this little change cause the StackScript fail.

If you are facing this problem, below you can find a troubleshooting guide.

1. Reconfigure 

dpkg --configure -a

Also kill other apt or dpkg process running

 

2. Update StackScript 

AutoDelete Account, a new Drupal module

The autodelete account module is designed to enable certain roles and of course users within those roles are able to auto delete their own account. By default this option is only enabled to admin users in edition user mode.

Usage:

0. Download the module and rename the 1267268 folder to autodelete_account. see note.
1. Install autodelete_account module.
2. Set the permission ''delete own account' to the roles you want to be able to delete their own account.
3. Inform your users that they can delete their own account.

Advanced User Module Patch: Enable use HTML format in Bulk Emails

Hello folks

If you are a user of Advanced User module, more likely you want to send bulk HTML emails to your users.

Tabs Module Patch: Enable Validation Form per Tab Panel in Navigation

Hello folks

I made a new feature to the form trigger to enable a validation per panel before the next or previous action gets executed.

If a required field is blank, the field is highlighted as error.

This feature has a flag in admin tabs to enable or disable the JS validation.

Currently this patch only validates inputs and selects controls.

You can follow the issue request to include on the next version at : http://drupal.org/node/1102904

Enjoy IT.

enzo

Pages

Subscribe to RSS - enzo's blog