<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>I have a content type with three CCK fields:
description, address and type. I have made a custom module with form_alter
changing certain aspects of these fields on the node create form...wrapping them
in a css class, altering the description, weight, etc.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I noticed today that the custom module was not only
not having an effect but that the CCK fields themselves had disappeared from the
node create form. Odd! I disabled the custom module and back they came.
</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>then I rolled the database back about 10 days,
reinstalled the custom module and everything was working fine. So now I am
trying to work out what is different between the june 3rd sql dump and the june
18th sql dump and it's driving me crazy. I don't think the custom module is the
problem as it's just a 10 line form_alter function that was working perfectly
until some point between june 3rd and 18th.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The other thing is in that custom module, today I
put the following to find out what fields/variables were in the
form:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> print $form_id;<BR>
$form['form_array'] = array(<BR> '#value' => '<pre>'.
print_r($form, 1) .'</pre>',<BR> '#weight' =>
'99',<BR> );</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>with the june 3rd sql dump, I'm getting all the CCK
fields printed below, showing me all the arrays and variables I can access and
alter. In the june 18th sql dump, none of that is coming up at all. It's as if
they don't exist. When I go to Content Types, everything is normal, the fields
are there, etc.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Has anyone heard of something like this before? Any
clues where I could start looking?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Neil</FONT></DIV></BODY></HTML>