Q. Viewsの上部に、[Edit][Export][Clone]のホバーリンクが表示されるが、非表示にしたい。
Q. [Administer]-[Site building]-[Views]-[Tools]で「Do not show hover links over views」にチェックする。
2011/03/24
2011/01/13
Scheduler
Scheduler 6.x-1.6
コンテンツを指定日時に自動で「掲載」状態にできる。また、指定時刻に自動で「非掲載」にできる。
コンテンツタイプ毎にこの機能を有効/無効にできる。
だだし、cron実行時にこの判定が行われている様な感じ・・・
設定手順
1. モジュールをインストール
2. 権限設定
3. ContentTypeの編集ページの Workflow settings で、「Enable scheduled (un)publishing」と「Alter published on time」にチェックする。
4. Content作成ページで、publish on / unpublish に日時を設定する。
コンテンツを指定日時に自動で「掲載」状態にできる。また、指定時刻に自動で「非掲載」にできる。
コンテンツタイプ毎にこの機能を有効/無効にできる。
だだし、cron実行時にこの判定が行われている様な感じ・・・
設定手順
1. モジュールをインストール
2. 権限設定
3. ContentTypeの編集ページの Workflow settings で、「Enable scheduled (un)publishing」と「Alter published on time」にチェックする。
4. Content作成ページで、publish on / unpublish に日時を設定する。
ラベル:
Drupal
2010/11/04
Pixture Reloaded on IE6 でページが乱れる
左サイドバーが右側に配置され、見にくかったり、ボタンをクリックできなくなる。
これは、IE6の問題。
次で回避できる。※検証中
sites/all/themes/pixture_reload/ie.css の最後に次を追加する。
※モジュール「CSS Injector」を利用する方法では、(おそらく)css読み込み位置の問題で、解消されない。
これは、IE6の問題。
次で回避できる。※検証中
sites/all/themes/pixture_reload/ie.css の最後に次を追加する。
#header,
#content,
#navbar,
#sidebar-left,
#sidebar-right,
#footer,
#closure-blocks {
_overflow: hidden;
}
※モジュール「CSS Injector」を利用する方法では、(おそらく)css読み込み位置の問題で、解消されない。
ラベル:
Drupal
2010/10/25
SWF Tools
モジュール・インストール
CCK - http://drupal.org/project/cck - 6.x-2.8
FileField - http://drupal.org/project/filefield - 6.x-3.7
SWF Tools - http://drupal.org/project/swftools - 6.x-2.5
モジュール・有効化
CCK > FileField
SWF Tools > 1 Pixel Out
SWF Tools > FlowPlayer 3
SWF Tools > SWF Tools
コンテントタイプ
(1)MP3
# Manage fields 追加
Label : Audio
Name : field_mp3audio
Type : File
Permitted upload file extensions : mp3
# Display fields
Label : above
Teaser : Hidden
Full node : SWF Tools - no download link
(2)Flash Video
# Manage fields 追加
Label : Flash Video
Name : field_flashvideo
Type : File
Permitted upload file extensions : flv
# Display fields
Label : above
Teaser : Hidden
Full node : SWF Tools - no download link
プレイヤー
http://drupal.org/node/303203
(1)1 Pixel Out
http://downloads.wordpress.org/plugin/audio-player.1.2.3.zip
Install it to : sites/all/libraries/1pixelout/player.swf (mkdir sites/all/libraries/1pixelout)
(2)FlowPlayer 3
http://flowplayer.org/download/index.html (http://releases.flowplayer.org/flowplayer/flowplayer-3.2.5.zip)
Install it to : sites/all/libraries/flowplayer3/flowplayer-3.x.x.swf (mkdir sites/all/libraries/flowplayer3)
SWF Tools
(1)Home » Administer » Site configuration » SWF Tools >> FlowPlayer 3
Player and plugin files >> Player file: flowplayer-3.2.5.swf
(2)Home » Administer » Site configuration » SWF Tools >> File handling >> File locations
Default flash player path: sites/all/libraries
(2)Home » Administer » Site configuration » SWF Tools >> File handling >> File handling
Default player for single FLV movies: FlowPlayer 3
Default player for single MP3 files:1 Pixel Out MP3 Player
権限設定
Home » Administer » User management > Permissions
[content_permissions module ]
edit field_flashvideo
edit field_mp3audio
view field_flashvideo
view field_mp3audio
[node module]
create flashvideo content
create mp3 content
delete any flashvideo content
delete any mp3 content
delete own flashvideo content
delete own mp3 content
edit any flashvideo content
edit any mp3 content
edit own flashvideo content
edit own mp3 content
CCK - http://drupal.org/project/cck - 6.x-2.8
FileField - http://drupal.org/project/filefield - 6.x-3.7
SWF Tools - http://drupal.org/project/swftools - 6.x-2.5
モジュール・有効化
CCK > FileField
SWF Tools > 1 Pixel Out
SWF Tools > FlowPlayer 3
SWF Tools > SWF Tools
コンテントタイプ
(1)MP3
# Manage fields 追加
Label : Audio
Name : field_mp3audio
Type : File
Permitted upload file extensions : mp3
# Display fields
Label : above
Teaser : Hidden
Full node : SWF Tools - no download link
(2)Flash Video
# Manage fields 追加
Label : Flash Video
Name : field_flashvideo
Type : File
Permitted upload file extensions : flv
# Display fields
Label : above
Teaser : Hidden
Full node : SWF Tools - no download link
プレイヤー
http://drupal.org/node/303203
(1)1 Pixel Out
http://downloads.wordpress.org/plugin/audio-player.1.2.3.zip
Install it to : sites/all/libraries/1pixelout/player.swf (mkdir sites/all/libraries/1pixelout)
(2)FlowPlayer 3
http://flowplayer.org/download/index.html (http://releases.flowplayer.org/flowplayer/flowplayer-3.2.5.zip)
Install it to : sites/all/libraries/flowplayer3/flowplayer-3.x.x.swf (mkdir sites/all/libraries/flowplayer3)
SWF Tools
(1)Home » Administer » Site configuration » SWF Tools >> FlowPlayer 3
Player and plugin files >> Player file: flowplayer-3.2.5.swf
(2)Home » Administer » Site configuration » SWF Tools >> File handling >> File locations
Default flash player path: sites/all/libraries
(2)Home » Administer » Site configuration » SWF Tools >> File handling >> File handling
Default player for single FLV movies: FlowPlayer 3
Default player for single MP3 files:1 Pixel Out MP3 Player
権限設定
Home » Administer » User management > Permissions
[content_permissions module ]
edit field_flashvideo
edit field_mp3audio
view field_flashvideo
view field_mp3audio
[node module]
create flashvideo content
create mp3 content
delete any flashvideo content
delete any mp3 content
delete own flashvideo content
delete own mp3 content
edit any flashvideo content
edit any mp3 content
edit own flashvideo content
edit own mp3 content
ラベル:
Drupal
2010/10/09
Views のフィールド幅を調整する
モジュール CSS injector をダウンロード&有効にし、cssをカスタマイズする。
例
例
td.views-field-title{
width: 70%;
}
td.views-field-type{
width: 15%;
}
td.views-field-changed{
width: 15%;
}
ラベル:
Drupal
2010/05/07
2010/03/27
Welcome to your new Drupal website! を非表示にする
druapl 6.16
[site]/modiles/node/node.moduleのfunction node_page_default()に1行追加する(1778行目付近)
変更前
[site]/modiles/node/node.moduleのfunction node_page_default()に1行追加する(1778行目付近)
変更前
$output = '<div id="first-time">'. $default_message .'</div>';変更後
$output = '<div id="first-time">'. $default_message .'</div>';
$output = '';
ラベル:
Drupal
2010/03/06
Taxonomy Manager
Taxonomy Manager 6.x-2.2
Drupal6.15のコアモジュールのタクソノミー管理ツールでは、なぜか のタームの順序を変えると alias が消えてしまう。
このモジュールでタームの順序を変更しても消えないため、代わりのツールとして利用できる。
Drupal6.15のコアモジュールのタクソノミー管理ツールでは、なぜか のタームの順序を変えると alias が消えてしまう。
このモジュールでタームの順序を変更しても消えないため、代わりのツールとして利用できる。
ラベル:
Drupal
Drupal 6.15 から 6.16 へのアップデート
1. 次のファイル、フォルダをバックアップする。
・sites files ディレクトリ
・修正しているファイル
・.htaccess robots ファイル
2. オフラインモードする。
http://<サイト>/?q=admin/settings/site-maintenance
※ブラウザは閉じない。
3. テーマを標準に変更する。
4. コア・モジュール以外を無効にする。※アンインストールはしない。
5. Drupalディレクトリから全ての古いファイルやディレクトリを削除します。
6. Drupalディレクトリに新しいファイルやディレクトリを配備します。
7. バックアップしていたファイルとディレクトリを配備する
・sites files ディレクトリ
・修正しているファイル ※場合によってはソースを修正
・.htaccess robots ファイル ※場合によってはソースを修正
8. http://<サイト>/update.phpにアクセスして実行。
※こののステップは、新しいDrupalのインストールには、コアデータベースのテーブルを更新します。
※update.php ができない時、settings.phpを変更する。
$ update_free_access = TRUE
実行後元に戻す
$ update_free_access = FALSE
9. カスタムモジュールを有効化する。
10. テーマを変更する
11. サイトをオンラインにする。
http://<サイト>/?q=admin/settings/site-maintenance
12. 完了
・sites files ディレクトリ
・修正しているファイル
・.htaccess robots ファイル
2. オフラインモードする。
http://<サイト>/?q=admin/settings/site-maintenance
※ブラウザは閉じない。
3. テーマを標準に変更する。
4. コア・モジュール以外を無効にする。※アンインストールはしない。
5. Drupalディレクトリから全ての古いファイルやディレクトリを削除します。
6. Drupalディレクトリに新しいファイルやディレクトリを配備します。
7. バックアップしていたファイルとディレクトリを配備する
・sites files ディレクトリ
・修正しているファイル ※場合によってはソースを修正
・.htaccess robots ファイル ※場合によってはソースを修正
8. http://<サイト>/update.phpにアクセスして実行。
※こののステップは、新しいDrupalのインストールには、コアデータベースのテーブルを更新します。
※update.php ができない時、settings.phpを変更する。
$ update_free_access = TRUE
実行後元に戻す
$ update_free_access = FALSE
9. カスタムモジュールを有効化する。
10. テーマを変更する
11. サイトをオンラインにする。
http://<サイト>/?q=admin/settings/site-maintenance
12. 完了
ラベル:
Drupal
登録:
投稿 (Atom)