コンテンツの作成 |
8.4x |
Download |
とにかく何でもコンテンツをダウンロードさせる方法 |
コンテンツの作成 |
8.4x |
node |
新規ノードを作成する |
Views |
8.4x |
hook_views_query_alter |
現在のViewsクエリを保存・再現する方法 |
コンテンツの管理 |
8.4x |
Action |
カスタムアクションを作成する方法 |
Viewsプログラミング |
8.4x |
Views |
drupal8におけるViewsプログラミング |
コンテンツの作成 |
8.4x |
node |
node保存前に色々やる方法 |
Custom module |
8.3x |
Custom module Twig Block Cache |
カスタムモジュールのレンダリングを非キャッシュ化する方法 |
テーマ |
8.3x |
Contribute themes |
drupal8-寄贈テーマの動向 |
サイトの構築 |
8.3x |
Webform |
Webformモジュール メールアドレスの入力ミス確認 |
テーマ |
8.3x |
Theme |
drupal8 で パスに応じたページテンプレート名を利用する方法 |
テーマ |
8.3x |
Core |
Twig開発用の設定 |
PHP |
8.3x |
PHP |
drupa8でhook_init()する方法 |
テーマ |
8.3x |
Block Cache Theme |
管理ページから作成したカスタムブロックを非キャッシュ化する方法 |
拡張機能 |
8.3x |
Contribute modules |
drupal8-寄贈モジュールの動向 |
ユーザの管理 |
7.59 |
user pass |
drupal 7 で 管理者(uid=1)パスワードがわからなくなったとき 新しいパスワードを設定する方法 |
Proxy |
7.59 |
Proxy Apache settings.php |
リバースプロキシ(Apache)+バックグランドWeb(Drupal 7 )でログインセッションを維持する方法 |
サイトの環境設定 |
7.59 |
さくらのレンタルサーバー php Options |
さくらのレンタルサーバーで パブリック/プライベートディレクトリにファイルが書き込まれないとき |
サイトの構築 |
7.59 |
Drupal.ajax |
drupal 7 で Uncaught TypeError: Drupal.ajax is undefined となったときの対応方法 |
テーマ |
7.56 |
field |
レンダリング配列内に「ラベル非表示」を指定する方法 |
drush |
7.54 |
Drush |
Drushでdrupalサイトをインストールする方法 |
コメント
多言語サイトを作るときに、欠かせないモジュールの一つに、
パーマリンク Submitted by actbrain on 2012/10/22 23:35.
多言語サイトを作るときに、欠かせないモジュールの一つに、「Internationalization (i18n)」 が有りますが、こいつを入れとくと、マルチリンガルサイトの構築に必要な色々な機能を提供してくれます。
その一環として、サイト専用のsetting.phpに
$conf['i18n_variables'] = array(
// Site configuration
'site_name',
'site_slogan',
'site_mission',
'site_footer',
'site_frontpage',
'anonymous',
// Node help
'blog_help',
'story_help',
// User configuration
'user_registration_help',
'user_mail_register_admin_created_subject',
'user_mail_register_admin_created_body',
'user_mail_register_no_approval_required_subject',
'user_mail_register_no_approval_required_body',
'user_mail_register_pending_approval_subject',
'user_mail_register_pending_approval_body',
'user_mail_password_reset_subject',
'user_mail_password_reset_body',
'user_mail_status_activated_subject',
'user_mail_status_activated_body',
'user_mail_status_blocked_subject',
'user_mail_status_blocked_body',
'user_mail_status_deleted_subject',
'user_mail_status_deleted_body',
'user_mail_welcome_subject',
'user_mail_welcome_body',
'user_mail_approval_subject',
'user_mail_approval_body',
'user_mail_pass_subject',
'user_mail_pass_body',
// Primary and secondary links
'menu_primary_menu',
'menu_primary_links_source',
'menu_secondary_menu',
'menu_secondary_links_source',
);
のような定義を追加することでさまざまなフォームの入力欄を多言語できます。
ページ