Fusion core's region.tpl.php outputs HTML even if a region is empty.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fusion-node-regions-1772370.patch | 644 bytes | webkenny |
| #1 | fusion-1772370-0.patch | 1.97 KB | OnkelTem |
Fusion core's region.tpl.php outputs HTML even if a region is empty.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fusion-node-regions-1772370.patch | 644 bytes | webkenny |
| #1 | fusion-1772370-0.patch | 1.97 KB | OnkelTem |
Comments
Comment #1
OnkelTem commentedComment #2
webkenny commentedI noticed it was node-top being rendered on node pages with no content in that region. I don't see that as being the case for all regions however. For example with no blocks in a footer, the footer markup doesn't render.
Seems the issue is here:
And here:
Can you verify that this is what you're seeing as well? The node top and bottom regions being output?
Comment #3
webkenny commentedI went ahead and looked back at 6.x where the if statements including node_top and node_bottom were, waiting to be ported into 7.x; Patch attached. Please review and we'll get this into DEV.
Comment #4
webkenny commentedJust noting #1541826: Node bottom question as a duplicate since it addresses the issue as well.
Comment #7
Poieo commented