2

サイトのナビゲーションのために、eZ Publish インストールのいくつかのオブジェクトから特定のゾーンと含まれるブロックを取得する必要があります。

このゾーンのブロックを取得する方法を教えてください。

attribute(show) を使用してオブジェクト全体を検査しようとしましたが、この出力は使用してのみ見つかりました

{$object.children[0].data_map.page.content.zones|attribute(show)}

結果

Attribute Type Value
0   object[eZPageZone]  Object
>id     string  'a52658c8b1d003bbbe6dc542108dd534'
>zone_identifier    string  'main'
1   object[eZPageZone]  Object
>id     string  '3893870da1d595349061a4bba3fd1be7'
>zone_identifier    string  'guide'
2   object[eZPageZone]  Object
>id     string  'f43306e22fb45f1ed72ce3b7276c39d9'
>zone_identifier    string  'keyvis'

さて、ゾーンIDを取得しました...

この ID の背後にあるゾーンとブロックを取得するフェッチはありますか?

4

0 に答える 0