SmartSectionのPDFが文字化けする

文字コードの関係でSmartSectionで構築しているページのPDFボタンを押してPDFでの確認を行うと文字化けしてしまう。そこでモジュール内のclass/item.phpを触ってPDFボタン自体を削除した。

変更箇所は

    if (SMARTSECTION_LEVEL > 0) {
   // PDF button
   $adminLinks .= "<a href=’" . SMARTSECTION_URL . "makepdf.php?itemid=" . $this->itemid() . "’><img src=’" . SMARTSECTION_URL . "images/links/pdf.gif’ title=’" . _MD_SSECTION_PDF . "’ alt=’" . _MD_SSECTION_PDF . "’/></a>";
   $adminLinks .= " ";
  }

上記の一文。こちらをコメントアウトするか削除することで可能。

参考サイトは下記より

http://www.toemon.com/modules/Knowledge/index.php?content_id=50

 

 


View this Post in: English French Japanese Korean Spanish

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

コメントはまだありません。

コメントをどうぞ