This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. « Retour - テーマの概要
ポータル規定値
小沢仁
以下のポータルのデフォルト値をliferay-look-and-feel.xmlで設定することができます。
- portlet-setup-show-borders-default
falseの場合は、すべてのポートレットの枠を非表示にします。デフォルトはtrueです。
例:
<settings>
<setting key="portlet-setup-show-borders-default" value="false" />
</settings>ポートレット毎のデフォルト値は以下で変更することができます: • liferay-portlet.xml • ポートレットCSSポップアップ設定
- bullet-style-options
ナビゲーション・ポートレットで使われるリスト(list)のCSSクラス名を指定します。値は使うマークをコンマ区切りで記述します。
例:
<settings>
<setting key="bullet-style-options" value="classic,modern,tablemenu" />
</settings>ナビゲーション・ポートレットの設定からマークを変えることもできます。選択されたスタイルは<div>タグのCSSクラスで提供されます。このクラスは以下のパターンで名前が付けられます:
.nav-menu-style-{BULLET_STYLE_OPTION} {
... CSS selectors ...
}CSS設定を使ったHTMLコードの例です。マークをmodernに設定しています:
<div class="nav-menu nav-menu-style-modern">
<ul class="breadcrumbs lfr-component">
...
</ul>
</div>CSS及びJavaScriptを使ってメニューを作成することもできます。
19697 vues