Closed (fixed)
Project:
Teaser by Content Type
Version:
6.x-1.0
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2009 at 20:57 UTC
Updated:
14 Jun 2009 at 09:03 UTC
I've searched everywhere in content/types/
How do I do a "dsm($form_id) at the top of hook_form_alter."
Comments
Comment #1
joachim commentedSome other module must be interfering with things....
Install devel module and then add the line
dsm($form_id);
at the top of the hook_form_alter implementation to check the code gets there.
Comment #2
mikerz commentedokay,
I have had devel installed but don't understand how to change the implementation of hook_form_alter ? I'm relatively new to drupal.
I don't see why I would use devel in this case, why not edit the file with hook_form_alter ?
Comment #3
joachim commentedI am asking you to test whether this module -- teaser by type -- is reaching its implementation of hook_form_alter by putting an output statement at the top of this implementation.
Devel module gives you the dsm() function which is easy to type. You can print_r if you like.
Comment #4
mikerz commentedokay, i did that and went to content types and then the type i want to set it for.. the only thing I noticed which was different, was an information message with three bullets, and no information by any of them.
Comment #5
mikerz commentedWeird.. I tried again, put dsm in a new place and all of a sudden it started working.. still no message from dsm though
thanks for the help regardless
Comment #6
joachim commentedStrange.
But glad to hear you've got it working.