Re: Re: Is this working on D6.9?

uberguy's picture
Offline
Joined: 02/24/2009
Juice: 22
Re: Re: Is this working on D6.9?

Hi. Thanks for quick reply.
I am still getting the error when try to enable the module. This is what I have:

my_module.info :

; $Id$
name = My Module
description = My customizations to Ubercart
package = Custom

my_module.module :

<?php
// $Id$

/**
* @file
* Module to hold my customizations to Ubercart
*/

/**
* Implementation of hook_form_alter()
*/
function my_module_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'product_node_form') {
$form['base']['model']['#type'] = 'hidden';
}
}

Both files are place in sites/all/modules/custom/
Can you see what wrong with the codes? I am running D6.9, Ubercart-6.x.2.0-beta3

Thanks.

Removing SKU on product edit page By: jag (48 replies) Tue, 12/11/2007 - 23:12