2017-11-04 13 views
1

가 제작 한내가 진짜 문제 내 default.xml에 파일을 얻는 데 2 ​​

젠토 2에서 읽을 수 젠토을 읽고 사용자 정의 테마를 적용하지만,하지 default.xml에 나는에 대한 변경 그 안의 XML 파일은 적용되지 않습니다. 부모 테마 XML (Luma)을 편집하면 작동하는 코드가 정확하므로 그 코드가 정확하다는 것을 알 수 있습니다. 그렇게 간단한 것이 빠져 있어야하며 누군가가 도와 줄 수 있기를 바랍니다.

내 파일 구조는 다음과 같습니다 XML 파일 내에서

\app 
    \design 
    \frontend 
     \mycompanyname 
     \mythemename 
      \layout 
      \default.xml 

은 다음과 같다 : 내가 백 엔드에서 올바르게 테마를 적용한 생각

<?xml version="1.0"?> 
<!-- 
/** 
* Copyright © 2013-2017 Magento, Inc. All rights reserved. 
    See COPYING.txt for license details. 
*/ 
--> 
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> 
<body> 
    <move element="top.search" destination="header.panel" /> 
    <move element="minicart" destination="header.panel" /> 
</body> 
</page> 

에 대해 아무것도가있다 나 확인해 볼까?

미리 감사드립니다.

답변

0

다시 읽기는, 나는 그것이 테마 폴더를 의미하는 것으로 가정 'Magento_Theme'라는 폴더에 을 XML 파일을 퍼팅에 참고로하는 것에 때, 워드 프로세서를 통해 NOT '젠토 테마'라는 실제 폴더 : 다음과 같이 D

폴더 구조는 모든 것이 노력하고 있습니다 :

\app 
\design 
    \frontend 
    \mycompanyname 
    \mythemename 
    \Magento_Theme 
     \layout 
     \default.xml