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.
Read more: Drupal ubercart coupon: Send and Recycle ubercart coupons.
Jan 30
Posted by Beautifulmind in Development, News, Tips | No Comments
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.
Read more: Drupal ubercart coupon: Send and Recycle ubercart coupons.
Jan 26
Posted by Beautifulmind in Development, News, Tips | No Comments
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: Donate userpoints on Drupal node page
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: Message on Drupal pages.
Dec 6
Posted by Beautifulmind in Development, News, Tips | Comments off
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: Custom Drupal form on Drupal node.
Nov 1
Posted by Beautifulmind in Development, News, Tips | Comments off
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: Drupal Tweaks: hook_menu, hook_form_alter, hook_user.
Oct 12
Posted by Beautifulmind in Development, News, Tips | Comments off
This CodeLet allows you to add a ‘ban IP/block user’ link for content using GoAway module. GoAway module just supports banning user IPs in comment and it doesn’t offer a feature to ban/block author’s IP/user. The CodeLet takes care of the link text display depending on the data it finds from the db. If user’s IP is available, it will display ‘Ban IP’, otherwise it will display ‘Block user’. You can ‘Unban/Unblock’ an author in similar way.This CodeLet requires Drupal’s Goaway module — http://drupal.org/project/goaway installed and configured.
Read More: Drupal GoAway content: Ban/block Authors
Jul 1
Posted by Beautifulmind in Development, News, Tips | Comments off
This CodeLet depicts the patch which will replace the views_break_phrase() implementation in flag_plugin_argument_validate_flaggability.inc. However, the development release of flag module has already implemented this change. The changes has to be made because signature of views_break_phrase() has been changed.
Read more: Flag module: Missing argument 2 for views_break_phrase
This CodeBook is a collection of patch CodeLets. These patches help fix bugs and issues in a core or contributed module. Applying a patch to a module is the best way to fix any issue.
Read more: Patch
May 30
Posted by Beautifulmind in Development, News, Tips | Comments off
This CodeLet is from one of the live project. This is specific to one site built with Drupal 5.x. You can learn the code and can know how to achieve certain features at admin side. This CodeLet displays an interface to admin to update data per user. This data will then be displayed to end user which is not editable.
Read More: World of Warcraft admin features.
May 18
Posted by Beautifulmind in Development, News, Tips | Comments off
This CodeLets alllow anonymous users to post comments withough approval if his/her previous comment has been approved by the moderator. Thus this CodeLet makes it easy for moderators to moderate only those comments which are posted by users who has posted the comment for first time.
This module works out of the box and presents a list of white listed anaomyous users with email id. The moderator can remove emails from the list and those will have to be moderated next time.
Read more: Automatically moderated Drupal comments
You are currently browsing the archives for the Development category.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||
If your are Developer, developing in wordpress, what are you waiting for? just follow this blog, make posts and find solutions for the problems you have which is annoying you for very long....
Arclite theme by digitalnature | powered by WordPress