I try to print from the backend in Community Builder (with Profiler Pro extension) all the tabbed content which is loaded from the database. As all the content is in tabs, with javascript window.print(), it's only possible to print the content of one tab at a time. I have reduced the script to it's essential, but now I am stuck. Has anybody tried this before with Community Builder or has any idea how to solve this? Here is my code:
<?php
class CBView_user {function edituser( $user, $option, $newCBuser, &$postdata ) {global $_CB_framework, $_PLUGINS;
$tabs = new cbTabs( ( ( ( $_CB_framework->getUi())) ));
$tabcontent = $tabs->getEditTabs( $user, $postdata );
echo $tabcontent;
}
} // class CBView_user
?>