[support] Change user contact page title
Marco Antonio Villegas Vega
marvil07 at gmail.com
Wed Mar 5 15:03:19 UTC 2008
Answering myself,
> I want to change user's contact page title.
>
> Usually when I change the title I do it from a theme function, but at
> contact module the page is generated in one function, whithout passing
> the output on theme functions so.. I don't know where to do that
>
> Anyone have an idea or the same problem?
>
> Note: I know that I can change it adding a drupal_set_title to
> contact_user_page function but I don't want to change the core :(
There IS a way to theme forms(I did not realize :( ):
To theme the form I wanted(I'm using zen)
<?php
function zen_contact_mail_user() {
//get some info
...
// put the title
drupal_set_title($sometitle);
}
?>
Cheers,
________________________________
Marco Antonio Villegas Vega
( º - º ) Ing. Informatica
http://blog.pucp.edu.pe/marvil07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/support/attachments/20080305/930bceaf/attachment.pgp
More information about the support
mailing list