PEAK XOOPS - Re: xoops_blockプラグインとD3モジュール内ブロック(2) in englishin japanese

Re: xoops_blockプラグインとD3モジュール内ブロック(2)

Target News
Subject xoops_block plugin and D3 module's block(2)
Summary I've modified D3 module's blocks can return both "array for template" and "string rendered by the template" by specifying $options['disable_renderer'].Then I've made a smarty plugin named "xugj_block" based on "xoops_block".eg)<{xugj_block file="module...

List posts in the topic

none Re: xoops_blockプラグインとD3モジュール内ブロック(2)

msg# 1.1.1.1
depth:
3
Previous post - Next post | Parent - No child | Posted on 2007/4/3 4:39
GIJOE  Gunnery Sergeant   Posts: 4110
Quote:

Tom_G3X wrotes:
Quote:
今読むと、言語を読み込む部分をまるまるハツっちゃってますね
現実には、アサインする部分に言語が必要なケースはほとんどないので、必要な場合だけ、<{xugj_block}>の直前に<{include_php}>してもらえばいいかな、という方針で。
実際には、メニューブロックやユーザーブロックでの利用が大半のようですので、後から言語ファイルの読み込みを追加したんですよ。
実際に使おうと思って、それに気づきました。
う〜ん、オプション追加かなあ。
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!