久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何在 CMS 頁面 Magento 中調(diào)用 PHTML 文件

how to call a PHTML file within a CMS page Magento(如何在 CMS 頁面 Magento 中調(diào)用 PHTML 文件)
本文介紹了如何在 CMS 頁面 Magento 中調(diào)用 PHTML 文件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我需要在我的 cms 頁面中調(diào)用一個 phtml 文件,但它不起作用.

I need to call a phtml file within my cms page and it will not work.

這是cms頁面中的代碼

this is the code in the cms page

{{block type="core/template" template="catalog/product/form-top.phtml"}}

fom-top.phtml 基本上是打開一個表單,但這并不重要.此代碼不會顯示超出標(biāo)題的任何內(nèi)容.

fom-top.phtml basically opens a form but that does not matter. this code cause nothing past the header to be displayed.

關(guān)于如何在 CMS 頁面中調(diào)用 phtml 文件的任何想法?

any ideas on how to call a phtml file within a CMS page?

推薦答案

查看網(wǎng)頁源代碼并滾動到底部以查看 php 錯誤.

View the source of your webpage and scroll to the bottom to see a php error.

form-top.phtml 被調(diào)用,但里面有一個 php 錯誤,它失敗了.錯誤可能發(fā)生在一個不可見的 div 中,這就是為什么您看不到它的正常方式.

form-top.phtml gets called but there is a php error inside which fails. The error might happen in an invisible div that's why you don't see it the normal way.

這篇關(guān)于如何在 CMS 頁面 Magento 中調(diào)用 PHTML 文件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設(shè)置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數(shù)組自動填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產(chǎn)生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 精品亚洲国产成av人片传媒 | 欧美日韩综合一区 | 欧美一级在线免费 | 蜜桃臀av一区二区三区 | 天天射夜夜操 | 国产一区二区 | 亚洲 精品 综合 精品 自拍 | 成人一区精品 | 久久久xx| 97成人精品| 久久亚洲国产精品日日av夜夜 | 97成人免费 | 成人网av| 欧美久久久久久 | 日本免费黄色 | 99热电影| 精品国产一区二区三区观看不卡 | 成人精品国产免费网站 | 久久国产欧美日韩精品 | 91福利网址 | 亚洲欧洲精品在线 | 欧美精品在欧美一区二区 | 亚洲日本中文字幕在线 | 91精品久久久久久久 | ww 255hh 在线观看 | 91精品久久久久久久久中文字幕 | 性色视频 | 亚洲男人的天堂网站 | 国产成人精品一区 | 国产在线一区二区三区 | 欧美日韩一区二区在线观看 | 精品一区二区av | 欧美日韩电影一区二区 | 亚洲精品久久久久久久久久久 | 精品国产乱码一区二区三区a | 超碰欧美| 免费毛片网 | 麻豆一区二区三区 | 97日日碰人人模人人澡分享吧 | 国产精品无码永久免费888 | 免费黄色日本 |