data tables

rommelxcastro's picture

problema con hook_schema()

hola señores y señoras, tengo un problema con el hook_schema(), estoy creando un modulo para un sitio y necesito crear una tablar para guardar los datos, al activar el modulo no se porque pero no se esta creando la tabla, aqui les dejo el codigo:


<?php

function mymodule_install() {
drupal_install_schema('mymodule');
}

function mymodule_uninstall() {
drupal_uninstall_schema('mymodule');
}

function mymodule_schema() {
$schema['mymodule'] = array(
'fields' => array(
'rid' => array(
'type' => 'int',

Read more
resume@pappasgroup.com's picture

Back End Developer | Pappas Group

Employment type: 
Full time
Telecommute: 
Not allowed

The Work

Read more
mvogtman's picture

Using the Data Taxonomy Module

I'm a newcomer to Drupal (about three weeks in) and I'm struggling a bit with using the Data module with Taxonomy. As a bit of background, I'm trying to develop a data reporting mechanism where, each value entered is associated with the deepest level of a taxonomy vocabulary. For example, a user would submit the number of cases closed during that quarter, disaggregated by Location > Department > Floor > Title. I originally started building this using CCK for data capture, and using node relationship to pull together my views for reporting.

Read more
Subscribe with RSS Syndicate content