LoginSignup
0
2

More than 5 years have passed since last update.

Drupal7で最初に入れておきたいモジュール(コマンド付)

Last updated at Posted at 2017-11-05

概要

よく使うから標準で入れておきたいなと思うモジュールをまとめてみました
ディストリビューションにすればいいのだろうけど、作るのも管理するのも面倒なのでDrushコマンドでモジュールをインストールだけにしました

特にバックグラウンドで動くモジュールは入れ忘れが起こるのでまとめたくなりました

想定している構築方法はブートストラップとDisplay Suiteモジュールを使ってビューモードを設定して構築します。
ランディングページのみPage ManagerモジュールとPanelsモジュールで構築します

基本的に自分がどのサイトでも使ってるなーというモジュールを集めています

コマンド

drush dl admin_menu adminimal_admin_menu ckeditor ckeditor_media ctools date ds entity entitycache entityreference field_group file_entity globalredirect google_analytics inline_entity_form jquery_update libraries link media metatag module_filter panels pathauto rules shield simplify smtp token token_tweaks views views_bootstrap bootstrap adminimal_theme
drush en admin_menu adminimal_admin_menu ckeditor ckeditor_media ctools date date_api date_popup ds ds_ui entity entity_token entitycache entityreference field_group file_entity globalredirect googleanalytics inline_entity_form jquery_update libraries link media media_wysiwyg metatag metatag_opengraph module_filter panels page_manager pathauto rules rules_admin rules_scheduler shield simplify smtp token token_tweaks views views_ui views_bootstrap

解説

Display SuiteモジュールとBootstrapで構築していきます
基本的にはノードとタクソノミー、Viewsでページを作成します

DSプラグインのクラスの設定は最近Field Formatter CSS Classモジュールが上手く動作しないので、テーマ内でpreprocess_fieldを作成して調整してます
(使えそうなら、Field Formatter CSS Classモジュールが好ましいです)

トップページ等のランディングページはブロックでごちゃごちゃするのでPanelsモジュールとPage Managerモジュールで対応します

後はよく使うフィールドのDateとLink
PathautoやGlobalredirect、Metatag、Google Analytics等のSEO対策のものを入れてあります

Drushコマンドを変えるだけなので、良かったら自分の使いやすいように調整してみてください

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2