我安装了"打印" 和"书籍制作简单" 模块上的drupal 7.打印模块还打印按钮"添加这个孩子" from"预订简单"。如何在PDF上打印"添加此孩子" ？
I installed "Print" and "Book Made Simple" modules on Drupal 7. The Print module also print the button "add this child" from "Book Made Simple". How can I not print "Add this child" on PDF?
below screenshot is showing where the button from "Book Made Simple"
And here is the screenshot of a PDF contained "Add child page" and icon.
In those cases I added a custom print--pdf.tpl.php file to my theme and defined my custom css in the head of the HTML page which is rendered in this file (you find the original template file named "print.tpl.php" in the print modules folder - just copy it to your theme and rename it).
Here you can define any element by CSS and give it a "display: none;" - so it will not be seen in your final PDF.