Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Drupal 7 を使用しています。印刷モジュールと TCPDF ライブラリを使用して、特定のノード タイプでダウンロード可能な PDF を生成しました。ここで、カスタム Drupal ブロック (PDF のブックマーク) をダウンロード可能な PDF ファイルに挿入したいと思います。このブロックを PDF に挿入するためにできるオプションはありますか。
ありがとう
対応する tpl.php ページに何でも入力できます。「印刷」モジュールのフォルダー (通常は sites/all/modules/print/print_pdf.tpl.php ) で pdf ファイルのテンプレートを見つけます。
ブロック、ビュー、または任意のカスタム テキストを印刷できます。