phptemplate_hook() functions have been removed from Drupal 7. The instructions for customizing the signup form no longer work:
#422116: Die, themeEngineName_ prefix, die!

CommentFileSizeAuthor
#2 signup-1513076-2.patch577 bytessgabe

Comments

daniel-san’s picture

I have been trying to customize according to the Signup instructions as well and was wondering why it wasn't working. Are there any new instructions for overriding the signup form?

UPDATE:
I used the theme name instead of phptemplate and it worked great.

Example:
function bartik_signup_user_form
instead of
function phptemplate_signup_user_form

Also, don't forget to clear the cache. ;-)

sgabe’s picture

Component: Code » Documentation
Priority: Major » Normal
Status: Active » Needs review
StatusFileSize
new577 bytes

This is a documentation issue. Patch attached.

sgabe’s picture

Title: phptemplate_signup_user_form has no effect; removed from D7 » phptemplate_HOOK is obsolete
Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.