简体   繁体   中英

Magento not saving variables or custom blocks in CMS page

I'm trying to add

{{block type=”core/template” template=”page/home.phtml”}}

Into a CMS page but it's not saving the code when I go back into the page the code has gone, it also happens when picking a defualt variable

Any help?

Actually if it's any help, it's something to do with my local install - seems to be fine on live. - Strange

Not sure what all that was about!

I deleted the CMS page and recreated it, all is good now... Strange!

You were probably forgetting a closing bracket or something.

Magento will delete your entire line if it's missing a '<' '>' '}' '{'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM