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
Description

I've searched everywhere in content/types/
How do I do a "dsm($form_id) at the top of hook_form_alter."

#1

joachim - June 13, 2009 - 09:15
Status:needs review» postponed (maintainer needs more info)

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

mikerz - June 13, 2009 - 18:17

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

joachim - June 13, 2009 - 22:21

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

mikerz - June 14, 2009 - 02:35

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

mikerz - June 14, 2009 - 02:47

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

joachim - June 14, 2009 - 09:03
Category:bug report» support request
Status:postponed (maintainer needs more info)» closed

Strange.
But glad to hear you've got it working.

 
 

Drupal is a registered trademark of Dries Buytaert.