레이아웃 파일에서 다른 테마의 템플릿 파일을로드 할 수 있습니까? 그래서 대신에 뭔가local.xml의 다른 테마에서 템플릿로드 magento
<reference name="head">
<block type="page/template_links" name="customvars" as="customVars" template="page/html/customvars.phtml"/>
</reference>
하나는있을 수 있습니다처럼 중 하나
<reference name="head">
<block type="page/template_links" name="customvars" as="customVars" template="page/html/customvars.phtml" template="otherTheme" />
</reference>
나 :
<reference name="head">
<block type="page/template_links" name="customvars" as="customVars" template="/app/design/frontend/default/otherTheme/page/html/customvars.phtml"/>
</reference>
왜 이것이 필요한가요? 단일 구성 범위 내에서 템플릿 파일에 대해 * 4 개의 가능한 위치가 있습니다 ... – benmarks
예를 들어 다른 'get' 변수 값을 기반으로 블록에 대해 다른 템플릿을로드하려고합니다. 블록을 처리하거나이 값을 기반으로하지 않는 기능이 있지만 다른 템플릿 파일이 아닌 다른 테마를 지정하는 옵션이 더 좋을 것입니다. –
또는 템플릿에 다른 테마를 지정하는 것이 이미 가능하다고 제안 했습니까? –