Try the Demo

Magento Forum

   
php include? 
 
nicholas.alipaz
Jr. Member
 
Total Posts:  13
Joined:  2008-07-08
Los Angeles, CA
 

Is there a way to allow php to be parsed in the “CMS -> Manage Pages” section?  I need to insert a small php include in my homepage, but after adding it, nothing shows up.

I believe that there is some sort of file that is only allowing html tags.  Is there something I can edit to change this?

Thanks in advance.

 Signature 

Los Angeles web design

 
Magento Community Magento Community
Magento Community
Magento Community
 
dan_w
Sr. Member
 
Total Posts:  290
Joined:  2008-01-04
 

You’re right. php is not allowed in cms pages or static blocks. Since the cms and/or static block pages are stored in the db, this could present a security risk. Check out this thread for details:
http://www.magentocommerce.com/boards/viewthread/3698/

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