Here – http://drupal.org/node/214392 – you suggested a simple way to add the Guestbook page provided by Guestbook module in a pane of the user profile Panel.

But if an user disables his GuestBook, the "Page not found" page is rendered inside the pane, messing all the layout.

Is there an if statement that checks if user has guestbook enabled before trying to render the page?

I tried if (guestbook_page(arg(1))), but it did not solve the issue.

Thanks

Comments

michelle’s picture

Project: Advanced Profile Kit » Guestbook
Version: 5.x-1.0-alpha3 » 5.x-1.x-dev

I don't know. That's really a question about guestbook, not advprofile. Moving to the right queue.

Michelle

dtabach’s picture

Status: Active » Closed (duplicate)

So let's mark this issue as a duplicate, because I'd already posted another issue.