久久久久久久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)
主站蜘蛛池模板: 人人爱干| 国产亚洲欧美日韩精品一区二区三区 | 99久久精品视频免费 | 亚洲精品一区二区三区在线 | 中文字幕99| 亚洲免费视频在线观看 | 黄网站色大毛片 | 亚洲人成网站777色婷婷 | 欧美精品久久 | 欧美6一10sex性hd| 日本一区二区高清不卡 | 激情一区二区三区 | 91极品视频 | 国产精品久久久久免费 | 免费观看一级毛片 | 亚洲国产一区视频 | 波多野结衣电影一区 | 国产高清视频在线 | 日日碰碰 | 中文字幕一区二区三区精彩视频 | 欧美日韩毛片 | 91精品国产综合久久福利软件 | 欧美日韩精品一区二区三区视频 | 自拍视频网 | 久久三级影院 | 午夜影院在线免费观看视频 | 欧美 日韩 中文 | 日韩高清一区 | 91xxx在线观看 | 精品国产精品三级精品av网址 | 成人福利| 99热电影| 偷拍自拍网站 | 国产在线视频网 | 日本免费视频在线观看 | 国产一区999 | 四虎影视一区二区 | 日韩在线资源 | 91秦先生艺校小琴 | 99热在线观看精品 | 欧美一级免费看 |