Here in the example below, we see how to override Drupal's existing registration functionality. Here we create 3 files such as .info file, .install file and .module file. In the .install file we create a MySQL table to hold the details of the
Initially when someone told me that you can get paid by reading emails I thought it would...
I always wanted to remove those ugly affiliate links from my websites. One of the main...
Home based business opportunities are cropping up in the world everywhere today. From...
Game development is not just for the C++ and C# programmers, it's for everyone. Ruby has several libraries for game programming, but Gosu shines among them. Learn to rapidly prototype (or finish!) 2-dimensional games in Ruby quickly and easily.
Here in the example below, we see how to override Drupal's existing registration functionality. Here we create 3 files such as .info file, .install file and .module file. In the .install file we create a MySQL table to hold the details of the
Using the hook_schema you will be able to create MySQL tables dynamically during run-time. In the .install file you will have to specify the name of the table and its related fields. In the .module we try to insert values to the table which is
Sometimes it is very much necessary that we override the existing login functionality of Drupal and write our own custom login validations. This can usually be done using the form_alter hook. In my case I wanted to check whether the user enters a
The code below connects to mysql database using drupal hooks and displays the results in a tabular format. You can save the code below as products.module and be sure to create an info file. The code below demonstrates how to sort the table columns
Advertisement
©2011 ceeyel.com. All rights reserved.
Social Networking