Skip to main content
19 events
when toggle format what by license comment
S Mar 15, 2017 at 12:09 history edited Raphael at Digital Pianism CC BY-SA 3.0
getFullActionName does not contain slashes
S Mar 15, 2017 at 12:09 history suggested wrb CC BY-SA 3.0
getFullActionName does not contain slashes
Mar 15, 2017 at 11:43 review Suggested edits
S Mar 15, 2017 at 12:09
Jan 30, 2016 at 10:30 history edited Fabian Schmengler CC BY-SA 3.0
added 530 characters in body
Jan 30, 2016 at 10:24 comment added Fabian Schmengler @RahulChaurasia right, you have to add the handles to load before the layout is loaded, I didn't think about that. So use controller_action_layout_load_before and add a check if the current page is the success page. I'll update my answer
Jan 29, 2016 at 14:04 comment added Rahul Chaurasia i have 1 more problem related this. how to pass genrated data to phtml file? which i am showing ?
Jan 29, 2016 at 14:03 comment added Rahul Chaurasia @fschmengler in your answer first type solution is working but second type is not. i mean i want to load it form layout.xml. (from custom handle). Even my code is right because when i use another event(i.e. "controller_action_layout_load_before") second type is also working
Jan 29, 2016 at 13:51 comment added Rahul Chaurasia @fschmengler in your answer first type solution is working. i mean i want to load it form layout.xml. (from custom handle). Even my code is right because when i use another event(i.e. "controller_action_layout_load_before") its working.
Jan 29, 2016 at 8:10 vote accept Rahul Chaurasia
Jan 27, 2016 at 12:38 comment added Fabian Schmengler @RahulChaurasia Yes, "before_body_end" instead of "footer". And to clarify, there is no specific relation between observers and layout, observers are just code, executed at certain events. Regarding how to find out which blocks are cached, this is going too far, it should be a separate question.
Jan 27, 2016 at 11:56 comment added Rahul Chaurasia as marius said footer is cached. can you guys tell me where can i find which block updates on cache enabled and which will not
Jan 27, 2016 at 11:54 comment added Rahul Chaurasia @fschmengler can you please send exact solution. i m too new. Do you mean i have to use refrence name="before_body_end" ?
Jan 27, 2016 at 11:51 comment added Rahul Chaurasia that is why i am also confused because in layout nothing mention related to observer. which i was find before submit question here
Jan 27, 2016 at 11:30 comment added Fabian Schmengler If it must be in footer for design reasons, I added a solution that changes the cache key.
Jan 27, 2016 at 11:29 history edited Fabian Schmengler CC BY-SA 3.0
solution for block cache
Jan 27, 2016 at 11:27 comment added Marius Yep, that should work.
Jan 27, 2016 at 11:25 comment added Fabian Schmengler Good point @Marius, if possible I'd try to use before_body_end which is not cached
Jan 27, 2016 at 11:20 comment added Marius I'm not sure this works for the footer block. It would work for almost any other block, but when the cache is enabled, the footer is cached and it might not display the message.
Jan 27, 2016 at 11:02 history answered Fabian Schmengler CC BY-SA 3.0