Summary of the 4th Drupal 8 Contribute in Costa Rica

Submitted by enzo on Fri, 05/11/2012 - 15:23

Last night the Costa Rican Drupal community once again attended one of our monthly events in its 4th edition, the activity is called Drupal 8 Contribute.

The goal of this event is to contribute in order to speed up the release of Drupal 8 and of course encourage Drupal Themers & Developers to learn more about the new release.

We were glad to see some new faces as-well as people that already attended other events.

Here's what we attacked this time: UX & Logical issues.

List of attendees:

How to get text formats allowed for the user - Drupal 7

Wed, 05/09/2012 - 15:21 | 13 Views

Hello folks,

If you are new in Drupal 7 and you need to deal with text formats (format input filters in D6), you will notice a big difference between D6 & D7. We don't have the radio button to set our default text format.

If you are wondering how we can set this default format, the answer lies in the order since Drupal 7 handles the text format with less weight as the default format.

As a reminder, it all depends on the roles assigned to the current user, the default order could be different depending on the role.

How to create an omega subtheme using drush for Drupal 7

Fri, 04/27/2012 - 15:15 | 37 Views

Hello folks

If you are a fan of omega theme or you are still deciding whether to start using it, the best way to start quickly is using drush commands. Here's a quick guidance.

1. Install omega theme & omega_tools module

#drush dl omega, omega_tools

2. Enable omega theme & omega_tools module.

How to create a pre built list for webform in Drupal 6/7

Sun, 04/15/2012 - 15:03 | 836 Views

Hello folks.

Sometimes we require to collect information from users, and a webform is a good option for that, but the problem comes when you need to present a variable list of options.

Imagine you want to allow user to request a role promotion, that means the user can fill out a form and select from a list the role he wants to get.

In an ideal world, this list of roles must be dynamically, to shrink or grow, when you delete or add new roles in your system. This simple task could be a nightmare in webforms.

Drupal 7 Services 3.x Client with Authentication using Jquery

Mon, 03/26/2012 - 15:39 | 345 Views

Hello folks.

Today I will share with you how to build a jQuery client to consume REST resources created with Drupal 7 & Services 3.x.

In the following example we will authenticate against drupal and after that get a specific user information.

1. Configure Services.

You must enable in your endpoint the resources for user and node. see image attached #2

Also you must enable authentication for your endpoint. see image attached #3

How to Restore a Backup & Migrate file using Drush

Thu, 03/22/2012 - 14:36 | 1560 Views

Hello folks.

Today I will share with you my experience restoring a Backup created with the module Backup & Migrate using drush

0. Create your backup

You must use the Backup & Migrate module to genereate a new backup and copy it to your new instance where you plan to restore your backup.

1. Allocate the backup in the proper location.

GIT: How to take a single commit from one branch and apply it to another.

Mon, 03/19/2012 - 14:12 | 4263 Views

Hello folks.

How to create a new Entity/Content Type Programmatically in Drupal 7

Tue, 03/06/2012 - 14:08 | 412 Views

Hello folks

Today I will share how to create a new entity/content type from code in a custom module.

To start you need to create a new module, lets call this new module staff.

1. Implement module.install

We need to create a file inside our module folder staff called staff.install 

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

Sat, 03/03/2012 - 15:00 | 178 Views

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

Sat, 03/03/2012 - 14:04 | 365 Views

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.