= 表示記事に対応する多言語記事が存在する場合はその記事へのリンクを作成するカスタム関数 =

                                                       Modified Date: 2010/09/02
                                                      Author: Hiroshi Sakuramoto
                                                    Presented by: IVY WE CO.,LTD
                                                                  Version: 1.0.0
                                                   対応バージョン: Geeklog 1.7.0


== インストール方法/使用方法 ==

 * custom_multilangstory.php を <geeklog_dir>/system/custom/ へアップロード

 * <geeklog_dir>/system/lib-story.php の 533行目の return を PLG_replaceTags() で囲む

<code>
</code>

 * <geeklog_dir>/system/lib-custom.php の末尾に以下を追加

<code>
/* 表示記事に多言語記事があればその記事へのリンクを表示する */
require_once( 'custom/custom_multilangstory.php' );
</code>

 * <public_dir>/layout/<theme>/storytext.thtml の任意の場所へ多言語記事リンクの自動タグを追加
<code>
[multilangstory:{story_id}]
</code>

 * autotagプラグインをインストールして、グループにてautotag.PHPを有効にしてPHP関数を使えるようにして新規自動タグでmultilangstoryを作成します。


