Japanese Mobile

Component ID

526154

Component name

Japanese Mobile

Component type

theme

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

5596

Component created

Component changed

Component body

Japanese Mobile is a theme aimed at making a functional Drupal site for Japanese mobile phones(DoCoMo, au, Softbank). Since Drupal doesn't work with Japanese mobile phones by default, the theme uses a number of overrides in order to make Drupal compatible with them.

Features

  • User agent detection & dynamic header depending on a carrier
  • Inline CSS in order to deal with DoCoMo's inability to use external or header CSS
  • No javascript since it doesn't work on mobile phones
  • Character encoding conversion of HTML output fom UTF-8 to Shift_JIS
  • Character encoding conversion of $_POST from Shift_JIS to UTF-8
  • Session handling by URL-rewriting instead of cookies
  • Blocks positioned above and below main content
  • Liquid layout
  • Use of GIF image instead of PNG

Dependency (D6 only)

Important: Updating to 6.x-1-1
As of 6.x-1-1, the Japanese Mobile eliminated core hacking by adding dependency to URL alter. If you are upgrading from the previous versions, you will need to set the value of url_rewriter.tags to an empty string in your settings.php as in the default.settings.php, as well as removing the hack from common.inc. Please see #764232: Avoiding hacking core files.

Japanese Mobile is developed and maintained by Audia K.K.

Japanese Translation (日本語訳)

Japanese Mobileは日本の携帯電話(DoCoMo, au, Softbank)用のDrupalサイトを作成するためのテーマです。デフォルトのままでは携帯電話上で動作しないDrupalを、モジュール・フックやテーマ・オーバーライドを駆使し携帯電話から閲覧可能にしています。

主な機能

  • ユーザーエージェント探知&キャリア別htmlヘッダー
  • 外部CSSやヘッダーCSSを使えないDoCoMoに対応するため、インラインCSSの使用
  • 携帯電話で動作しないjavascriptを排除
  • HTMLアウトプットのキャラクターエンコーディングをutf8からShift JISへ変換
  • $_POSTデータのキャラクターエンコーディングをShift JISからutf8へ変換
  • クッキーの代わりにURL書換えによるセッションハンドリング
  • メインコンテンツの上下に配置されたブロック
  • リキッドレイアウト
  • PNGの代わりにGIF画像を使用

依存モジュール (D6のみ)

重要なお知らせ: 6.x-1-1へのアップデート
Japanese Mobileは6.x-1-1からURL alterに依存することにより、コアをハックしなくても良くなりました。もし以前のバージョンよりアップデートされる場合、settings.phpにてurl_rewriter.tagsの値をdefault.settings.phpのように空の文字列にする必要があります。また、common.incへのハックを削除下さい。詳しくは#764232: Avoiding hacking core filesを参照下さい。

Japanese Mobileは株式会社オーディアによって開発&メンテナンスされています。