目標は非常に単純です: ヘッダーにヘッダー リンクの 2 つのブロックを配置します (設計上の目的で、1 つは右側に、もう 1 つは左側にフローティングします)。
私はいくつかのものを試しました:
次のものは何もしません:
<reference name="header">
<block type="page/template_links" name="top.links2" as="topLinks2"/>
</reference>
これは奇妙です。「ログイン」リンクを使用して新しいブロックを適切に作成しますが、元のブロックから同じリンクを削除します。
<reference name="header">
<block type="page/template_links" name="top.links" as="topLinks2"/>
</reference>
目標を達成するための最良の方法は何ですか?
編集: header.phtmlにこれがあることを忘れていました:
<?php echo $this->getChildHtml('topLinks2') ?>