In Admin-> CMS Module we have four Sub modules
- Pages { Its used to create the new pages. }
- Static blocks { Its used to create the new static block (like advertisement blocks etc) we can use this block where we wanted. }
- Widgets { Its used to improve the appearance of the store and communicate to other applications (like social network sites) }
- Polls { Its used to know the consumer or online users satisfaction ,and used to find and avoid the lack of Business. }
Pages
How to create the page?
Admin- > CMS -> Pages -> Add new page(Button)
- Page information *
we can set page which store we wanted .
- Content
- Design
we have four type of layout styles . 1 column ,2 columns with left bar ,2 columns with right bar ,3 columns.
our design will set the page style.
- Mata data
Content and Key words used to increase the traffic of our page and site.
After these we have to save the page.
If you want add the page link means you can use
<a href="{{store direct_url="new_home"}}">New Home</a>
call the above anchor tag in where you want. here " new_home" is the
URL Key and "New Home" which is the
Page title.
Static blocks
How to create the Static blocks?
Admin- > CMS -> Static blocks-> Add new Block(Button)
Block Title *
Identifier *
Store View *
Status *
Content *
we have to fill the above all .
If u wanted to add the block to ur page means you can use following code
{{block type="cms/block" block_id="ehp" }}
here ehp is a
Identifier what you gave.
call above code to your page or which page you wanted.
Widgets
Admin- > CMS -> Pages -> Widgets ->Add New Widget Instance(Button) .
- Settings we can use the existing Widgets.
How to create Widgets by coding level through the MVC approach ?
Reference Url
http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-a-magento-widget-part-1 .
if you want to call the widget in your block or page go content -> WYSIWYG editor -> Insert widget option (2nd one from left top on editor)
Polls
Admin- > CMS -> Pages -> Polls ->Add New Poll (Button) .
Poll information and poll question and answer is needed . we have to fill above all.
and we have to "open" the polling option if we want.
Note : If we open(Active) two or three polling options means . that will show the front end one by one.