私はまだオーチャードに不慣れです。
私は以下のように定義された2つのコンテンツタイプを持っています
public int Create() {
// Define the tab list type which will
// contain body details, common, route, menu and be a container
ContentDefinitionManager.AlterTypeDefinition("TabList",
cfg => cfg
.WithPart("BodyPart")
.WithPart("CommonPart")
.WithPart("RoutePart")
.WithPart("MenuPart")
.WithPart("ContainerPart")
.Creatable());
// Define the tab type which will
// contain body details, common, be containable.
ContentDefinitionManager.AlterTypeDefinition("Tab",
cfg => cfg
.WithPart("BodyPart")
.WithPart("TitlePart")
.WithPart("CommonPart")
.WithPart("ContainablePart")
.Creatable());
return 1;
}
モジュールのリストマークアップレンダリングを次の場所から変更しようとしています。
<ul>
<li>...content-item</li>
...
</ul>
に
<ul>
<li>content-item.Title</li>
...
</ul>
<ul>
<li>content-item.Body</li>
...
</ul>
このモジュールでのみリストのレンダリングを変更したいだけです。
誰かが私に方向を教えてもらえますか?