Wednesday, January 25, 2012

Get Current CMS Page : Magento(CMS Pages Data)

// get current cms page from Mage:getSingleton
$cms_id = Mage::getSingleton('cms/page')->getIdentifier();
$cms_title = Mage::getSingleton('cms/page')->getTitle();
$cms_content = Mage::getSingleton('cms/page')->getContent();

3 comments:

  1. Nice post. Great blog. Thanks for the share. It was very interesting and informative. Keep posting. I follow you.

    Ecommerce Magento Development

    ReplyDelete
  2. not working fake code dont waste time

    ReplyDelete
  3. hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here.
    Kindly keep blogging. If anyone wants to become a Front end developer learn from javascript and jquery training in chennai .
    or learn thru Javascript Training in Chennai.
    Nowadays JavaScript has tons of job opportunities on various vertical industry. javascript and jquery training in chennai

    ReplyDelete