Webform is a great module in Drupal which help collecting user data. Recently i am working on a new website which needs a webform and one of the field is a selection list contains the node titles of a specific content type. I found a blog post about this dynamic select options feature in Drupal 6 by creating a custom module. xebee – Drupal Webform : Add a dynamic select option list
After you have enable the Product attribute module, you could adjust the SKU for products having different attributes. But there is no validation to check the SKU uniqueness. I try to enforce the checking by creating a custom module. Continue reading Ubercart – Enforce unique SKUs in Attributes Adjustment→
But usually newsletter is colorful HTML with images instead of just plain text. In this post we will continue working with the Simplenews module and try to create a HTML newsletter.
In Drupal 6, we can configure the 404 Page not found and 403 Access denied urls @ admin/settings/error-reporting. Everything seems works fine except the 403 Access denied page will use the Administration theme. If you want to apply the site theme on it, the following patch could help. theme403fix-759836.patch Continue reading Drupal 6 – Wrong theme on 403 page→
Another way to limit the number of values of content type field is adding an extra validation on the node create/edit form. Assume we have a content type called center and a media field called field_center_video.
1. Create a custom module and add an extra validation. Continue reading Drupal – Limit the number of values of a content type field by role @ 2→