PEAK XOOPS - ハックではない管理メニュー改善 in englishin japanese

Archive | RSS |
XOOPS
XOOPS : ハックではない管理メニュー改善
Poster : GIJOE on 2007-03-19 04:20:09 (8658 reads)

in englishin japanese
X2管理画面における左メニューの問題点は以下の4つに集約されます。

(1) JavaScriptのポップアップ位置がおかしくて下の方のモジュールだと捕まえきれない
(2) メニューの中身はIMGのみで、そのIMGにALTすら打ってない
(3) JavaScriptを切ると、アクセスできない項目が山のようにある
(4) 現在選択中のモジュールが何であるかが判らない

それを改善するために、HackではないHackを考えてみました。
あくまでモジュールだけです。最新版のaltsysモジュールを入れて、その一般設定で、「管理者用メニューの書き換え」を何か別のものに変更してみてください。

いわゆるmainfile hookでもコアHackでもないので、反映は1テンポ遅れますが、画面左メニューが切り替わったと思います。選択できる3パターンいずれも、(1)と(2)は改善してあります。「XC Legacy 2.1風」だと(1)〜(4)すべてを改善してあります。(下図参照)

この手法はキャッシュHackというもので、altsysでは結構あちこちで使ってます。今まではすべてSmartyのコンパイルキャッシュ templates_c/ をHackしていたのですが、今回の操作改善は cache/adminmenu.php ファイルを書き換えることで実現しています。


Related articles
Printer friendly page Send this story to a friend

Comments list

GIJOE  Posted on 2007/3/23 3:54 | Last modified
This feature can be a spark to transfer from 2.0.x to Cube Legacy 2.1

A user of 2.0.x tries this "Cube Legacy 2.1 type" adminmenu once, he/she knows how hard to use the adminmenu of 2.0.x is.
gigamaster  Posted on 2007/3/21 8:14
This is nice, really nice and i see two things that are alike XOOPS Cube 2.1 :

1. Visual : Ergonomic improvement user-friendly
2. Code : hack without core hacks alike 'Preload'

This is a great gift to Xoops users who didn't experiment Xoops Cube.

Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!