Fórum

Error theme in Liferay 7 GA1

thumbnail
Tien Nguyen, modificado 7 Anos atrás.

Error theme in Liferay 7 GA1

New Member Postagens: 21 Data de Entrada: 02/04/16 Postagens Recentes
When i open sidebar it 's only white.
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Error theme in Liferay 7 GA1

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Is the background and foreground both declared as white? You can usually try to select content to see if there is something there...
František Řezáč, modificado 7 Anos atrás.

RE: Error theme in Liferay 7 GA1

New Member Postagens: 5 Data de Entrada: 31/03/14 Postagens Recentes
I have the same issue and it affects both, left and right sidebars. It baffles me because I get it with the most happy day scenario - I just generate the most basic skeleton with yo theme generator with all settings defaulted (ftl templates, styled base theme). At first I also though it's a styling or javascript problem, but after a brief analysis I found out that the side bar is not present in the markup at all, which seems to be intentional, especially when there are no errors in the server log. At this point I'm really not sure if it is a bug or a feature. If it is a bug, then it is a showstopper bug in the most common usage in a GA release which would be insane irresponsibility of Liferay QA. But if it is a feature and theme developers are expected to pull sidebar content from server themselves somehow, I would expect it to be thoroughly explained, because it would have to be done by every single theme developer, since Liferay is useless without it's sidebars.

One more interesting detail. If I turn on a sidebar on another page which has the classic theme and I return to page with my theme, then the sidebar is visible, but the problem is oposite - it won't hide. After clicking the hide button, the page content widens to the full width, but sidebar stays in it's place so it covers part of the page which is under it. This assures me that this is systematic problem and not some accidental bug.

I have also noticed that when I click on sidebar toggle button in classic theme, it fire ajax request bearing info about visibility of sidebar. No such thing happens in my theme.
František Řezáč, modificado 7 Anos atrás.

RE: Error theme in Liferay 7 GA1

New Member Postagens: 5 Data de Entrada: 31/03/14 Postagens Recentes
So I have tried the same with fresh install of LR7 GA2 and it works so it's definitely a bug in GA1.