0
어떻게 사용자 정의 XML 파일에서 상수를 수정하고 사용자 정의 템플릿 phtml 파일에서 가져올 수 있습니까 ?? 당신로 .phtml 파일MAgento - XML 파일에서 상수를 수정하고 템플릿 phtml 파일로 가져 오는 방법
<?php echo Mage::getStoreConfig('settings/myconst'); ?>
을에서 당신의 config.xml에
<default>
<settings>
<myconst>My Value</myconst>
</settings>
</default>
도움말 :
이것이 무슨 뜻입니까? http://stackoverflow.com/questions/7481287/how-to-set-global-configuration-in-magento –
http://stackoverflow.com/questions/7481287/how-to-set-global-configuration-in- 마젠타 – vsushkov