Current Version of Codefight CMS Available for Download:

            « Version 1.5.0 »

            NOTE: The code available is same as the code used for this site at the time of release.

            Codefight CMS is based on Codeigniter PHP Framework which is very easy to learn.

            It would be nice to hear back some feedback. Also you can contribute with code and helping translating language files in your language.

            You can use this CMS in anyway you want. You can modify as you like and use commercially for free.

 

 

Select Language.[TESTING For Next Release.]

English | नेपाली | French | German | Korean

Login | Select Language | Thu, 29 Jul 10 17:02:02 -0600

Magento: How To Add A Static Block To A CMS Page

2009-04-23 05:03:08Damodar Bashyal

 

My another hunt on the google to find the process to add a static block to a cms page. After few search and filter, i found a post on a pratthost. It saved my a lot of my time and headache. The following post is taken from it, slightly modified.

Actually, there was nothing complicated about achieving this. Static blocks are a great way to divide up different types of data blocks to make updating content easier.

There are just two simple steps to adding a static block to a cms page.

First, create your static block.

You will use the identifier to call it on the cms page. Let's say, for this example, we call the identifier 'home_page_text'.

Once your static block is created, edit whatever cms page you would like this block to appear on, and simply put this code in right where you want it to show up:

CODE:

1-
2-//NOTE: block_id is static block identifier
3-{{block type=“cms/block“ block_id=“home_page_text“}}

This is how i use it in one of the site's homepage.

CODE:

1-
2-<div class=“homepage-top-div“>
3-<div class=“mermaid“>
4-</div>
5-<div class=“content“>
6-
7-{{block type=“cms/block“ block_id=“home_page_text“}}
8-
9-</div>
10-</div>
11-

And that's all.


Bookmark and Share

Hi Great post thanks for the info.

17/11/09 03:47:10|Scott @sydneydesign

 

 





Javascript must be enabled to post comments!