- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
// author:1
// author_ucd:d9G8ajWEStk6 nobunobu
**cubeUtils Module
***1.What's this?
This is a Sample Module for XOOPS Cube2.1.~
This Module has following features.
-AutoLogin Hack
These features is based on GIJOE'S XOOPS 2.0.x Hack~
-MultiLanguage Hack
This is just a sample foe evaluating XOOPS Cube 2.1 function.};};~
-iGoogle Gadget Block (Experimental)
AutoLogin and MultiLanguage features are based on GIJOE'S XOOPS 2.0.x Hack~
-cubeUtils 0.1 - &ref(XC21Module-cubeUtils_0.1.zip);
***2.How to Use it?
How it works?
++「Auto Login 機能を使用する」を「はい」に設定
>[ja]mlimg[/ja]
を文書に挿入すると、言語切り替え用国旗イメージを表示する事ができます。
****iGoogleを使用される場合(試験実装)
この機能は、Xoops Cube Legacyのブロックを、iGoogleのガジェットとして公開可能にする機能です。対象となるブロックは、ゲストユーザが参照可能なブロックに限定しています。~
別途CacheSystemを標準のstdRenderCacheを継承したクラスに置き換えて、言語毎のCacheを保存する事を可能にしています。[/ja]
公開の手順としては、
++互換モジュールの「ブロックのインストール」にて「iGoogle Gadgetブロック」を追加し、このオプションで、実際にGadgetとして公開したいブロックを指定します。
++この設定を行うと、もとのブロックを参照した新ブロックが作成され、ブロックが2重に表示されますので、元のブロックのほうを削除します。(ALTSYSのブロック管理で非表示に設定するほうが簡単です)
++新しいブロックには左下に「+Google」アイコンが表示されますので、これをクリックすることによってこのブロックをiGoogle上に表示することが可能となります。
[/ja]This module requires [[XOOPS Cube Legacy 2.1.x:http://xoopscube.sourceforge.net]] or higher.
-cubeUtils 0.7 - &ref(XC21Module-cubeUtils_0.7.zip);
+Please download above file.
+Unzip files and then copy them into XOOPS Cube Root folder.
+Install module with XOOPS Cube Administration menu
****Enbling AutoLogin Feature
In cubeUtils module preference screen
++ Set [Use Auto Login] to "Yes"
++ Maximum lifetime for AutoLogin into [Auto Login Lifetime] field in hours.
****Customizing Muti Language Feature
With default setting, You can switch language between "Japanese" and "English".~
If you want to customize it , you shold copy~
/modules/cubeUtils/include/conf_ml.dist.php to conf_ml.php,~
and then edit it as you want.~
After setting done, if you can write a multi language content like as follow.
>[ja]NIHONGO[/ja][en]English[/en]
And if you insert [ja]mlimg[/ja] in your content, you'll see national flags to switch language.
****iGoogle Gadget Block (Experimental)
This feature enbles any guest visible blocks on Xoops Cube Legacy will be displayed in your iGoogle page as gadget. (Brief document is under constuction) ~
***3.How it works?
*****1) AutoLogin
No English content now
*****2)EMLH(Easiest Multi Language Hack)
No English content now
***4.Change Log
-2006-08-21 : Version 0.1 Release
-2006-09-02 : Version 0.2 Release (Bugs reported by GIJOE are fixed)
-2006-09-04 : Version 0.3 Release (Bugs reported by plusangel are fixed)
-2006-09-25 : Version 0.4 Release (This will be able work with XOOPS Cube2.1 Alpha5)
-2006-10-22 : Version 0.5 Release (This will be able work with XOOPS Cube2.1 Beta1)
-2008-02-27 : Version 0.6 Release (Remove some 2.1 Beta compatible portion)
-2008-03-17 : Version 0.6 Release (Add iGoogle Gadget feature and minor fix)~