Layout Bug effectively breaking Magic Tabs
Permalink Browser Info Environment
I'm finally trying to use Magic Tabs, and followed direction, but all content becomes INVISIBLE (i.e. it's NOT WORKING).
I created a quick video screenshot to show you (attached)
At the end I actually deleted Magic Tabs. Seems the content STILL vanishes in a Layout (when you publish or preview the page).
So, maybe it's a bug with Layouts? Which still makes your add-on broken of course.
Unless is somehow theme specific? Have you tested in 5.6.3.3 ?
I created a quick video screenshot to show you (attached)
At the end I actually deleted Magic Tabs. Seems the content STILL vanishes in a Layout (when you publish or preview the page).
So, maybe it's a bug with Layouts? Which still makes your add-on broken of course.
Unless is somehow theme specific? Have you tested in 5.6.3.3 ?
Type: | Discussion |
---|---|
Status: | In Progress |
I just tested. It is related to the theme. For some as of yet unknown reason, my theme is causing any content in an area that contains a layout to vanish. I tested by Switching to Greek Yogurt for that page, and this issue goes away (and Magic Tabs works as well).
Ok,
Perhaps with a url i will find where is the bug, but without garanties.
Perhaps with a url i will find where is the bug, but without garanties.
Sure, and thanks.
It's athttp://ndtfilmviewers.com/selection-guide/...
The theme dev actually responded with this (see below)
(but I don't think the fix will work, because I already have a content block in that area, above where I put the layout, and for some reason as soon as I add the layout, it automatically puts that block in a layout as well!)
"Actually, there is a bug on this code $a->getTotalBlocksInArea($c)>0.
when using layout and then adding block to that layout the code above can't detect that it has an added block already.
The purpose also of the code is to collapse the design if ever there is no block on added on that certain area to avoid extra space.
The workaround is to add an empty content block to the main area so that the code can detect that there is an existing block on the area and to display the area.
It's athttp://ndtfilmviewers.com/selection-guide/...
The theme dev actually responded with this (see below)
(but I don't think the fix will work, because I already have a content block in that area, above where I put the layout, and for some reason as soon as I add the layout, it automatically puts that block in a layout as well!)
"Actually, there is a bug on this code $a->getTotalBlocksInArea($c)>0.
when using layout and then adding block to that layout the code above can't detect that it has an added block already.
The purpose also of the code is to collapse the design if ever there is no block on added on that certain area to avoid extra space.
The workaround is to add an empty content block to the main area so that the code can detect that there is an existing block on the area and to display the area.
Problem solved, thanks.