久久久久久久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)
主站蜘蛛池模板: 精品亚洲一区二区三区四区五区 | 久久精品国产免费看久久精品 | 二区三区视频 | 成人久久久 | 国外成人在线视频 | 欧美色性 | 国产69精品久久久久777 | 一级片aaa | 亚洲美女视频 | 中文字幕在线观看视频一区 | 九一国产精品 | 欧洲亚洲精品久久久久 | 欧美大片在线观看 | 免费看a | 一区二区在线 | 日韩中文字幕一区二区三区 | 欧美一区免费 | 国产精品一区二区av | 黄色激情毛片 | 亚洲国产精品一区二区第一页 | 欧美中文字幕一区二区三区亚洲 | 国产欧美日韩精品一区二区三区 | 羞羞免费网站 | 欧美精品一 | 视频二区国产 | 九九九久久国产免费 | 久久精品二区亚洲w码 | 精品国产一区二区三区在线观看 | 色婷婷亚洲一区二区三区 | 97久久久 | 一a一片一级一片啪啪 | 91人人在线 | 中文字幕免费视频 | 欧美日韩一区二区在线 | 一区精品视频 | 在线a视频 | 一级毛片在线播放 | 欧美一区二区三区在线看 | 国产美女视频黄a视频免费 国产精品福利视频 | 成人性视频免费网站 | www.日韩av.com |