プロモ
プロモとは、サーバ管理パネルと顧客パネルの両方に表示されるプロモーションバナーです。Parallels Customer and Business Manager(Business Manager がインストールされていない場合に表示)、ヘルプデスク、その他多数の注目のアプリケーションの Plesk プロモーションがあらかじめ用意されています。独自のプロモを作成して Plesk に挿入することができます。すべてのプロモを非表示にできます。
プロモの位置
You can see promos on the following Plesk screens:
- Server Administration Panel: "Home", "Tools & Settings", "Mail Server Settings" (under "Tools & Settings").
- Customer Panel in Power User view: "Home", and so on.
プロモを作成する
以下のパターンに従って panel.ini 構成ファイルを編集することで、独自のプロモを作成できます。
[promos]
promo_setting = "value"
You can use the following settings:
-
active
. Shows if your promo will appear by default or not. Boolean. -
icon
. The URL of an icon shown in the promo. -
title
. The promo title. -
text
. The promo description. -
buttonUrl
. The URL that opens upon clicking the promo button. -
buttonText
. The caption of the promo button. -
hideText
. The text of the link for hiding the promo.
たとえば、以下のように表示されるプロモを作成するには:
panel.ini
に以下の行を追加します。
[promos]
custom.promo1.title = "Plesk Documentation Portal"
custom.promo1.icon = http://files.softicons.com/download/game-icons/world-of-goo-icons-by-sirubico/png/48x48/Documents.png
custom.promo1.text = "Documentation and Help Portal for Plesk"
custom.promo1.buttonUrl = "https://docs.plesk.com"
custom.promo1.buttonText = "Looking for documentation?"
custom.promo1.hideText = "Hide"
Plesk プロモを非表示にする
You can hide either certain specific promos or all promos at once.
Plesk でプロモをすべて非表示にするには:
[promos]
enabled = off
To hide promos on the Server Administration Panel and Customer Panel Home pages:
[promos]
enabled = off
サーバ管理パネルの[ツールと設定]および[ツールと設定]] > [メールサーバ設定]ページの Plesk プロモを非表示にするには:
[aps]
serverAppsPromoEnabled = off
サーバ管理パネルと顧客パネルの[ホーム]ページの特定のプロモを非表示にするには:
[promos]
promo_id.active = false
promo_id
は以下のいずれかにします。
-
cbm
- Parallels Customer and Business Manager のプロモ -
cloudFlare
- for the mod_cloudflare Apache module promo. -
commTouch
- for the Plesk Premium Outbound Antispam promo. -
googleIntegration
- Google サービスとの統合用のプロモ -
helpDesk
- ヘルプデスクのプロモ -
mobile -
Plesk Server Mobile Monitor および Plesk Server Mobile Manager のプロモ -
sitebuilderTrial
- Presence Builder Try and Buy モードのプロモ用
あるいは、独自のプロモ名にもできます。