Drupal Solution
| 1
min read
Commerce gift card module is used for creating Gift card Product types and sell it through the site. This module works with the drupal commerce module.
Drupal Technical
| 2
min read
We can use l() to add links in our Drupal pages. However, while using the output of drupal_get_destination() in the l() as link, it might end up in the wrong functionality. If the drupal_get_destination() returns a url with parameters involved, then using it directly in the l() would cause the link to redirect to the wrong page.
Drupal Technical
| 2
min read
Form API validation is a contributed module which allows us to write the validation rules in custom forms, without the use of hook_validate/form_validate function
Drupal Technical
| 2
min read
We can create custom rules programmatically using the function hook_rules_action_info(). hook_rules_action_info() is a useful hook provided by rules API to create custom rules programmatically. We can use our custom functions to perform the actions that we require.
Following is a sample of the hook_rules_action_info implementation:
Drupal Technical
| 1
min read
Rules are very important and most common using thing in Drupal. We can create custom rules programmatically using the hook_rules_action_info. There is a useful hook hook_rules_action_info() provided by rules api to create custom rules programmatically. Using this We can use our custom functions to perform the actions that we require.