0

Is there any way or work-around for getting the content of "core/text_list" type block into CMS Homepage, with least possible changes ?

The "core/text_list" type block contains two banner sliders one wide banner and another narrow banner slider. It is defined in the local.xml file of custom theme like below:

<reference name="root">
    <block type="core/text_list" name="preface" as="preface" translate="label">
            <label>Preface</label>
    </block>
</reference>

I want to call that block of type "core/text_list" in Homepage content which is defined in cms page.

Any suggestions are welcome.

  • 1
    I don't understand what you are trying to achieve. Where is this list block defined? What are the children? – Fabian Schmengler Apr 20 '16 at 7:19
  • Updated my question – Vicky Dev Apr 20 '16 at 7:22
1

You can not reference other existing blocks within a static block. A static block is, by definition static and does not depend on external state

You can however instantiate and render other blocks inside a static block, but you have to be careful with that, see: CMS Block Cache issue with included dynamic template

That means you can include the banners one by one using {{block}} directives, if they don't need any <action>s.

Not the answer you're looking for? Browse other questions tagged or ask your own question.