Blogs
Chapter 6 - the trolling continues

Two things in life are certain. And one of them is what this article is about ;)
Now that Liferay CE 7.3.0 is out and still offers Widget Pages, I'm happy to present a long standing optional feature that just requires a few lines of CSS (and - as always - could benefit greatly from someone donating a slightly prettier version)
What's it all about? When you drag&drop widgets on the page, you might expect a visual indicator for the possible drop zones (that depend on your page's layout) by now (pardon me for reusing the same illustration as in chapter 5, it's still accurate, apart from the mountains and version label):
The necessary CSS from chapter 5 - just like my illustration - still works: No change necessary. But as there are always new people coming on board, you might not have seen the old chapters. And as it's still the same CSS as last year, the effect is still as ugly as always, but works.
If you want to see the same in your installation, just add the following CSS to your pages, or to your theme:
.portlet-dropzone {
transition: padding 0.5s linear;
}
.yui3-dd-drop-active-valid .portlet-dropzone {
outline: 1px dotted black;
padding: 10px;
margin: 3px;
min-height: 100px;
}
You might also want to vote for LPS-40571 and LPS-53664 to get this feature out-of-the-box (again).
With the upcoming release strategy for 7.3 (introducing some new features in 7.3.1) and Jorge's December 2019 comment on LPS-40571, there's a good chance for a last farewell article once 7.3.1 comes out. Otherwise, of course, there's a very good chance for more trolling ;)