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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -