NWDthemes magento extensions FAQ

FAQ Page: how to add static block at the top

FAQ Page extension allows you to create separate page with common questions, categorize them, add popular questions, use magento shortcodes in questions text. Customers get nice page with answers for all common questions.

But sometimes customers want to add some more info to FAQ page. It can be done by adding static block via layout xml.

You theme should use local.xml which is usually located in app/design/frontend//default/layout/

  • create new static block with ID = my_block_identifier
  • and add this code to local.xml
<faqpage_index_index>
    <reference name="content">
        <block type="cms/block" name="faq_top" as="faq_top" before="-">
            <action method="setBlockId">
                <block_id>my_block_identifier</block_id>
            </action>
        </block>
    </reference>
</faqpage_index_index>

Thanks a lot,
NWDthemes team

Leave a Reply

Your email address will not be published. Required fields are marked *