infoMore than 5 years have passed since last update.
XOOPSのカスタムブロックに64KB以上のコンテンツを登録する方法
Last updated at Posted at 2012-03-16
- XOOPSのカスタムブロックは64KBまでしか保存できない
- HTMLコンテンツは軽く64KB超えることがある
そんなときの対処法
- おっきいコンテンツのHTMLを
block_contents_hoge.html
という名前で保存(hogeの部分は好きな文字列に読み替えてください)
- /uploadsに
block_contents_hoge.html
をアップロード
- ブロック管理に行って、カスタムブロックを作って保存する
カスタムブロックを作るときの設定
- コンテンツ:
require XOOPS_ROOT_PATH.'/uploads/block_contents_hoge.html';
- タイプ: PHPスクリプト
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up