Teaser Length option doesn't show
mikerz - June 12, 2009 - 20:57
| Project: | Teaser by Content Type |
| Version: | 6.x-1.0 |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I've searched everywhere in content/types/
How do I do a "dsm($form_id) at the top of hook_form_alter."

#1
Some 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.
#2
okay,
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 ?
#3
I 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.
#4
okay, 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.
#5
Weird.. 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
#6
Strange.
But glad to hear you've got it working.