Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How Do I Edit Pages
 
skywalker_chili
Jr. Member
 
Total Posts:  20
Joined:  2011-04-26
 

Hi,

I am trying to follow this guide for adding custom blocks to the footer of my pages - http://doc.aheadworks.com/magento-extensions/AW_Zblocks-2.3.4/readme.html#readme-

In the guide it says I need to add and use the following;

For CMS page:

{{block type="zblocks/block" position="position_name"}}

For XML layout:

<block type="zblocks/block" name="block_name">
    <
action method="setPosition">
         <
position>position_name</position>
    </
action>
</
block>

What is the easiest way to edit the code for my pages and add the above code? I am a total novice in this area, but just wondered how easy/difficult it is and whether I can do this myself?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
TRMMarketing
Sr. Member
 
Avatar
Total Posts:  145
Joined:  2009-11-29
 

The article you are looking at is for a extension. However you can apply static blocks to the footer of your website (assuming it has widgets setup) by going to, CMS>Widgets

Select the following:
Type: CMS Static Block
Design Package/Theme: Select your current theme
Widget Instance Title: Name it (Footer Widget)
Sort Order: Lower numbers are displayed first (eg 1 is displayed before 3)

Click “Add Layout Update”

Select
Display On: All Pages (Or select specific pages/products)
Block Reference: Page Footer (Or the applicable widget for your theme)

Then in the Widget Options tab

Click the “Select Block” button and select the Static block you want to assign to the widget.

Navigate to System>Cache Management
Refresh the block and layout caches.

The block will now be displayed on the front-end of the website

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top