Timeline for Add block to category page
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2014 at 6:10 | history | edited | Marius♦ |
edited tags
|
|
Jan 24, 2014 at 9:11 | vote | accept | Marius♦ | ||
Jan 21, 2014 at 10:38 | answer | added | Marius♦ | timeline score: 4 | |
Jan 21, 2014 at 10:13 | history | tweeted | twitter.com/#!/StackMagento/status/425571839709286400 | ||
Jan 21, 2014 at 9:36 | comment | added | Marius♦ | @Tim. If by block you mean "layout handle" I think you might be on to something. If not, then I might be on to something :). I will post an answer shortly. (I hope). | |
Jan 21, 2014 at 9:28 | comment | added | Tim Bezhashvyly |
@Marius when the second block is added it doesn't take into consideration what was set as after on the first block.
|
|
Jan 21, 2014 at 9:27 | answer | added | Keyul Shah | timeline score: 1 | |
Jan 21, 2014 at 9:16 | comment | added | Marius♦ |
@KeyulShah. I don't want to do that, since the last block can be different in theory. I want my block "absolute last". I also know how to do that. I can create a custom handle and use <update handle="my_handle" /> inside catalog_category_default and catalog_category_layered . But I'm just curious to why this doesn't work.
|
|
Jan 21, 2014 at 9:14 | comment | added | Keyul Shah |
Identify your last block load write as after="lastblock" it will might work
|
|
Jan 21, 2014 at 9:13 | comment | added | Keyul Shah |
Yes I also heard catalog_catagory_view but I have done via code but via xml code. good questions.
|
|
Jan 21, 2014 at 9:12 | comment | added | Marius♦ |
Yep, but the question is why? I didn't see any after="-" on other blocks in all the category page layout handles. As for the layout handle name catalog_category_view is the default one generated for all the pages through $this->addActionLayoutHandles();
|
|
Jan 21, 2014 at 9:11 | comment | added | Tim Bezhashvyly |
Good question by the way. Never head of catalog_catagory_view layout handle before.
|
|
Jan 21, 2014 at 9:09 | comment | added | Tim Bezhashvyly |
Seems like different order of block rendering. Some other children of content block of catalog_category_view is rendered after your block.
|
|
Jan 21, 2014 at 8:58 | history | edited | Marius♦ | CC BY-SA 3.0 |
added 43 characters in body
|
Jan 21, 2014 at 8:52 | history | asked | Marius♦ | CC BY-SA 3.0 |