Displaying multiple books
mtndan - February 26, 2009 - 19:40
| Project: | Booktree |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Uccio |
| Status: | closed |
Jump to:
Description
How do I display multiple books on a single booktree page?
Thank you for contributing this module - it's just what I needed.

#1
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.
#2
Thanks!
#3