小编sam*_*am 的帖子

如何在cms页面中调用phtml文件来设置页面标题

在Magento如何调用cms页面中的phtml文件来设置我在我的phtml文件中设置的页面标题?我在用

$this->getLayout()->getBlock('head')->setTitle('your title'); 
Run Code Online (Sandbox Code Playgroud)

设置页面标题.

php magento

4
推荐指数
1
解决办法
3万
查看次数

标签 统计

magento ×1

php ×1