Active
Project:
User Board
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2009 at 22:31 UTC
Updated:
6 Aug 2009 at 22:31 UTC
Hello,
Is there a way to embed the entire scrapbook in the user-profile.tpl.php like Guestbook is able to do?
(This is how it's done with Guestbook:
<?php
if (module_exists('guestbook')) {
$account_user = user_load(arg(1));
if (!$account_user->guestbook_status) {
$view_args = array($account_user);
$func_args = array_merge(array('guestbook', 'page'), $view_args);
$guestbook = call_user_func_array('module_invoke', $func_args);
print $guestbook;
}
}
?>
)
Thanks