Japanese Mobile
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
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ã¯æ ªå¼ä¼šç¤¾ã‚ªãƒ¼ãƒ‡ã‚£ã‚¢ã«ã‚ˆã£ã¦é–‹ç™ºï¼†ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹ã•れã¦ã„ã¾ã™ã€‚