Timeline for Loading Custom Blocks and Layouts
Current License: CC BY-SA 3.0
25 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 1, 2016 at 9:45 | history | edited | 7ochem | edited tags | |
| Jan 17, 2016 at 13:49 | vote | accept | Schrödinger's Cat | ||
| Jan 16, 2016 at 9:09 | answer | added | Prateek | timeline score: 3 | |
| Jan 15, 2016 at 23:59 | comment | added | Alessandro Ronchi | Note: logging is disabled in default installation and won't write any output unless you activated developer mode; add a fourth true parameter to Mage::log() to temporarily force logging; it becomes: Mage::log('My log entry', null, 'mylogfile.log', true); | |
| S Jan 15, 2016 at 19:11 | history | suggested | Raphael at Digital Pianism | added extra tag | |
| Jan 15, 2016 at 18:44 | review | Suggested edits | |||
| S Jan 15, 2016 at 19:11 | |||||
| Jan 15, 2016 at 13:34 | comment | added | Rohit Kundale | Check here for details : magento.stackexchange.com/questions/22370/… | |
| Jan 15, 2016 at 13:34 | comment | added | Rohit Kundale | Use like this Mage::log('My log entry', null, 'mylogfile.log'); | |
| Jan 15, 2016 at 12:57 | comment | added | Schrödinger's Cat | Actually i can see the page but there is not text is not printing and also the logging is also not working. Follwoing the is the output that i get from dump array(5) { [0] => string(7) "default" [1] => string(13) "STORE_default" [2] => string(26) "THEME_frontend_rwd_default" [3] => string(20) "mymodule_index_index" [4] => string(18) "customer_logged_in" } | |
| Jan 15, 2016 at 12:54 | comment | added | Rohit Kundale | Yes. it means its working now | |
| Jan 15, 2016 at 12:53 | comment | added | Schrödinger's Cat | The Cache is already disabled. This there any issue with the configurations. One more question it should show the text "MyModule Block" in the page , which is returned from the block right? | |
| Jan 15, 2016 at 12:47 | comment | added | Rohit Kundale | @nikhil Clear cache or disable them and then check | |
| Jan 15, 2016 at 12:40 | comment | added | Schrödinger's Cat | @ Rohit Did that but still not working | |
| Jan 15, 2016 at 12:31 | comment | added | Rohit Kundale | Put it here .app\design\frontend\base\default\layout\mymodule.xml and template file in app\design\frontend\base\default\template\mymodule.phtml | |
| Jan 15, 2016 at 12:28 | comment | added | Schrödinger's Cat | I'm trying to call indexAction. I have created a layout file and put it in \app\design\frontend\base\layout\mymodule.xml. I have edited the question to add the details. And also created a phtml which i have put in app\design\frontend\base\template\mymodule.phtml | |
| Jan 15, 2016 at 12:21 | history | edited | Schrödinger's Cat | CC BY-SA 3.0 | added 114 characters in body |
| Jan 15, 2016 at 12:18 | history | edited | John Cuthbert | CC BY-SA 3.0 | Encapsulating xml in code block. |
| Jan 15, 2016 at 12:15 | history | edited | Schrödinger's Cat | CC BY-SA 3.0 | added 362 characters in body |
| Jan 15, 2016 at 12:13 | comment | added | 7ochem | The method myfunction() is nowhere called. This should typically be called in a template. Can you add the contents of the mymodule.xml layout file and the contents of your template (.phtml file)? | |
| Jan 15, 2016 at 12:11 | comment | added | Rohit Kundale | You need to define layout file and add your block in to it for your controller handler. In your config.xml it seems mymodule.xml | |
| Jan 15, 2016 at 12:11 | comment | added | John Cuthbert | Which action are you looking access in the controller index or test? And can you post the content of your layout update - mymodule.xml | |
| Jan 15, 2016 at 12:11 | history | edited | 7ochem | CC BY-SA 3.0 | deleted 31 characters in body |
| Jan 15, 2016 at 12:09 | history | edited | John Cuthbert | CC BY-SA 3.0 | Edited formatting to make code visible. |
| Jan 15, 2016 at 12:08 | review | First posts | |||
| Jan 15, 2016 at 12:43 | |||||
| Jan 15, 2016 at 12:05 | history | asked | Schrödinger's Cat | CC BY-SA 3.0 |