Re: Pagebreak
Posted: 14 Jul 2009, 13:19
Hi, there is a problem, because we are displaying content created by Joomla!
There is no problem to add Page Breaks, e.g. in Phoca Restaurant Menu, you can use pagebreak tag [np] and you get new page, see pdf e.g. here:
https://www.phoca.cz/restaurantmenudemo/en/wine-list
But Phoca Restaurant Menu is ready to hide the [np] tag in case, the content is displayed in html. But there is no such behaviour in Joomla! content, so you need to hardcode Joomla! content (to hide some of your tag in content html) and then you need to hardcode tcpdf class to take your tag and create new page.
So you need to add such tag where you want to add new page:
<tcpdf method="AddPage" />
but you need to hardcode it so it will be not displayed in html
Jan
There is no problem to add Page Breaks, e.g. in Phoca Restaurant Menu, you can use pagebreak tag [np] and you get new page, see pdf e.g. here:
https://www.phoca.cz/restaurantmenudemo/en/wine-list
But Phoca Restaurant Menu is ready to hide the [np] tag in case, the content is displayed in html. But there is no such behaviour in Joomla! content, so you need to hardcode Joomla! content (to hide some of your tag in content html) and then you need to hardcode tcpdf class to take your tag and create new page.
So you need to add such tag where you want to add new page:
<tcpdf method="AddPage" />
but you need to hardcode it so it will be not displayed in html
Jan