How do I display multiple books on a single booktree page?

Thank you for contributing this module - it's just what I needed.

Comments

uccio’s picture

Assigned: Unassigned » uccio

mtndan,

This features is not provided by the booktree module but you can use the internal function to do multiple book in one page.
The snippet is:

<?

$maxricursione = 3;
$trimval = 50;
$booktree_start_1 = 17;
$booktree_start_2 = 19;

print booktree_mostra_figli($booktree_start_1,'Book 1'  ,1,$maxricursione,$trimval,$booktree_start_1);
print booktree_mostra_figli($booktree_start_1,'Book 2'  ,1,$maxricursione,$trimval,$booktree_start_2);

?>

Change $booktree_start_1 (root of book 1) according to your installation.

mtndan’s picture

Thanks!

uccio’s picture

Status: Active » Closed (fixed)