php - Magento call child html inside static block -


मैं इसके बारे में थोड़ा भ्रमित हूँ। मेरे पास

  & lt;? Php ईको $ this- & gt; getChildHtml ('खाता लिंक')? & Gt; header.phtml के अंतर्गत   

धन्यवाद

सबसे पहले, किसी भी खाता लिंक्स उपनाम नाम की जांच करें सभी xml फ़ाइल लेआउट में बाहर है। मान लीजिए

अगर मुझे पता चला है कि store_language पेज.xml में बाहर निकलता है और यह header.phtml में कॉल किया जाता है $ this-> getChildHtml ( 'Store_language') ;

अगर मैं इस फ़ाइल को किसी भी स्थान पर कॉल करना चाहता हूँ, जहां नीचे कोड का उपयोग किया गया है

  इस $ echo-> getLayout () -> gt; ; बनाएँब्लॉक ('पृष्ठ / स्विच') - & gt; सेटटैम्प्लेट ('पृष्ठ / स्विच / भाषाओं.फाइल') - & gt; toHtml ();   

उसी तरह आपको अनुसरण करना जरूरी है

Comments

Popular posts from this blog

c++ - Cmake produces file extensions in static library archives -

c# - Roxy file manager in MVC doesn't accept session path -

c# - XML - Serialize class - Some questions -