비 제품 콘텐츠에 사용할 4 개의 CMS 페이지 템플릿을 만들었습니다. 템플릿 파일을 app/design/frontend/default/MYTHEME/template/page/
dir에 업로드했습니다. 업로드 한 파일은 기존 1column.phtml 파일의 사본이지만 디자인 -> 레이아웃 풀다운 메뉴에서 해당 페이지 템플릿을 선택하고 페이지 미리보기를 시도 할 때 아무런 오류없이 빈 페이지가 나타납니다. 1 열의 페이지 옵션을 선택하면 내용이 올바르게 표시됩니다. 여기 Magento가 사용자 지정 템플릿 페이지 내용을 표시하지 않습니다.
내 config 파일
코드/지역/FL/CorporateTemplates/인 등/config.xml에 다음
<?xml version="1.0"?>
<config>
<global>
<page>
<layouts>
<corporate_template_lithograph>
<label>Corporate Template - Lithograph</label>
<template>page/corp-lithograph.phtml</template>
</corporate_template_lithograph>
<corporate_template_wideformat>
<label>Corporate Template - Wide Format</label>
<template>page/corp-wideformat.phtml</template>
</corporate_template_wideformat>
<corporate_template_packaging>
<label>Corporate Template - Packaging</label>
<template>page/corp-packaging.phtml</template>
</corporate_template_packaging>
<corporate_template_photography>
<label>Corporate Template - Photography</label>
<template>page/corp-photograph.phtml</template>
</corporate_template_photography>
</layouts>
</page>
</global>
</config>
내 등/모듈 파일입니다
<config>
<modules>
<FL_CorporateTemplates>
<active>true</active>
<codePool>local</codePool>
</FL_CorporateTemplates>
</modules>
</config>
예외 로그와 PHP 오류를 확인하셨습니까? 따라서 드롭 다운에서 새 템플릿을 얻고 렌더링하지는 않는 것처럼 보입니다. phtml 파일 중 하나의 내용을 게시 할 수 있습니까? –
캐시를 플러시 했습니까? –