slide1 slide2 slide3

Drupal Developer

Syndicate content
Updated: 4 days 16 hours ago

Drupal ubercart coupon: Send and Recycle ubercart coupons

Mon, 30/01/2012 - 18:11
in Project codes

This CodeLet will pick an inactive coupon created with UC coupons module randomly and generate new coupon code. This coupon can then be send via email using simplenews module. This CodeLet uses three tokens for coupons:

Coupon code: [coupon-code]
Coupon name: [coupon-name]
Coupon value: [coupon-value]

These tokens can also be placed in newsletter subject field.
When a new code is generated and the coupon is get activated, coupon's 'valid from' and 'valid until' values changes to current time and one week later respectively. When the coupon expires, on next cron runs, it will be inactive and be available to be picked again randomly.

The advantage of this CodeLet is, you don't have to add coupons manually each time few of the used up or expired. They get 'recycled'

read more

Categories: Developer's network

Donate userpoints on Drupal node page

Thu, 26/01/2012 - 20:31
in Project codes

This CodeLet will display a userpoint donation form. User can donate points to the author of the node right from the node page. This CodeLet donates 'tip' to admin for the nodes admin has created. You can further customize this CodeLet to meet your requirement. With this CodeLet, you will also get a block which you can place any where on the site. The CodeLet uses userpoint-donate module's permissions.

read more

Categories: Developer's network

Message on Drupal pages

Sat, 07/01/2012 - 11:32
in Project codes

This CodeLet allow you to display a message on every page.
This is a Drupal 7.x CodeLet which has introduced a new Drupal hook_page_build.

read more

Categories: Developer's network

Custom Drupal form on Drupal node

Tue, 06/12/2011 - 15:35
in Project codes

This CodeLet demonstrates how to hook into node's view page in Drupal 7.x. It usese Drupal 7.x hook -- hook_node_view($node, $view_mode, $langcode). Thise particular CodeLet adds a form with button. This CodeLet also demonstrate use of Drupal 7.x form API. This is one of the live projects code in work!

read more

Categories: Developer's network

Drupal Tweaks: hook_menu, hook_form_alter & hook_user

Tue, 01/11/2011 - 11:11
in Project codes

This CodeLet shows use of different hooks in Drupal. Mainly, it depicts use of hook_menu, hook_user and hook_form_alter. The CodeLet also depicts the use of AHAH event in Drupal forms. The CodeLet was written to tweak exisiting Drupal features in a way to achive the desired goals as per the project requirments.

read more

Categories: Developer's network

Drupal Tweaks: hook_menu, hook_form_alter & hook_user

Tue, 01/11/2011 - 11:11

This CodeLet shows use of different hooks in Drupal. Mainly, it depicts use of hook_menu, hook_user and hook_form_alter. The CodeLet also depicts the use of AHAH event in Drupal forms. The CodeLet was written to tweak exisiting Drupal features in a way to achive the desired goals as per the project requirments.

read more

Categories: Developer's network
Designed and developed By DrupalNetworks.com. Drupal Networks is a division of YAS Global.