Web Development
Creating Drupal Module
Submitted by bishop__ on Sat, 02/27/2010 - 11:02
Related Terms :
-
Here is a sample Drupal module that will enable us to add and display Student Information.
- Create the
student.infofile - Create the
student.installfile
; $Id$ name = Student Module description = A sample Drupal module. core = 6.x
<?php
// $Id$
/**
* Implementation of hook_schema()
*/
function student_schema()
{
$schema['student_info'] = array(
'description' => 'Student Information',
'fields' => array(
'id' => array(
'description' => 'The primary identifier for student_info.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE),
'student_id' => array(
'description' => 'Student ID Number',
'type' => 'varchar',
Rearranging and Changing the Look and Feel of your Drupal site
Submitted by bishop__ on Sat, 02/27/2010 - 10:29
Related Terms :
- To change the appearance of your site, click
Administer -> Site building -> Themes.
The default theme used by Drupal is Garland and you only have 6 available themes by default. To add new theme to your site you can choose and download Drupal themes at http://drupal.org/project/themes and extract this new theme to drive:\your\wamp\www\sites\all\themes\. To choose a new theme for your site, check the Enabled checkbox, select the Default radio button of the theme that you want and then click the Save configuration button to apply the new setting.


Recent comments
42 weeks 1 day ago
47 weeks 15 hours ago
1 year 8 weeks ago
1 year 14 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago
1 year 20 weeks ago
1 year 20 weeks ago
1 year 21 weeks ago