By icebox500 on
I have installed two modules to play with as I learn the system, countdown and nice menu. When I try to configure either of them I get the undefined function: form_textfield() error.
Could someone please point me to some solution or resources?
Thanks
Comments
Module version numbers and Drupal version numbers
Check that the modules you are trying to install are for the same version of Drupal as you are using. The form API was changed extensively from the 4.6. branch of Drupal to the newest 4.7 branch. The problem with form_textfield you are experiencing will happen if you install old modules with a new 4.7 Drupal beta or the CVS version (which is based on 4.7).
Uninstall the modules, download the correct ones (if they are available yet--not all of the modules have been updated), and install the correct ones. That should solve the problem.
Thanks, I think that
Thanks, I think that probably is the problem now that you point it out.
James
Glad to hear it
No problem. Finding your way through the site and figuring out what goes with what can be confusing at the beginning.
If that didn't fix the problem, repost and we'll see if there is something else that can be done.
BTW, if there are any modules that you find haven't been updated to 4.7 yet and you want to play around with trying to update them yourself, you might find this section of the Drupal online handbook useful and informative. It talks about specific changes you need to make in updating 4.6 modules to the new form API.