Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用我在 magento 中的服务条款中输入的相同文本,但我需要相同的文本出现在单独的灯箱页面上。有没有办法我可以将文本“拉”到我的网站而实际上没有 2 次
您可以使用它的标识符获取页面的数据...
echo Mage::getModel('cms/page')->load('terms-and-conditions', 'identifier')->getContent();