Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Magento – how to display a page title and contents from backend


$terms_condtn_title = Mage::getModel('cms/page')->load('terms-and-conditions', 'identifier')->getTitle();
$terms_condtn_content = Mage::getModel('cms/page')->load('terms-and-conditions', 'identifier')->getContent();	
echo $terms_condtn_content;
Advertisements

Comments are closed.

%d bloggers like this: