I am definitely a newcomer to drupal and php, but I am beginning (after MUCH study) to get a feel for things. This problem, however, has me stumped.

I would like to add the guestbook module to my user profile page. Guestbook already has a hook_user implementing a link to the guestbook page, but I would like to merge the guestbook page and the user page. Either merging or adding the guestbook entries to the user page with the ability to style the results would suffice.

Any suggestions or methods would be appreciated! Thanks!

Comments

merlinofchaos’s picture

I can see two possible options:

1) Implement your own hook_user() which adds the elements you want to the user page.

2) If that is insufficient, I believe you will need to override theme_user_profile() to style the page how you like; you can then add information there.

-- Merlin

[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]