Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to add custom layout to page fragments
Hi. I would like to add custom layout to Page fragments section, but I cannot find any information how to do it. Is it possible in Liferay 7.2.1 and higher versions?
Attachments:
I don't think, you can (at least not easily).
It is probably possible to implement something like that (didn't try) it in 7.3.3+, since you can add your own dropzones to fragments, but in 7.2 ...
It is probably possible to implement something like that (didn't try) it in 7.3.3+, since you can add your own dropzones to fragments, but in 7.2 ...
Thanks for reply. One more question. Do you know is it possible in 7.3.3+ to add custom CSS class to section/row? I see that in 7.2.1 - 7.3.2 versions do not allow to do this.
No, I don't know. I don't think so. I agree, that would be useful.
I would try this:
Add a fragment with a div and your own styleclass and a dropzone inside and drop the section/row inside.
Since you are inside your own dropzone, you should be able to apply styles to the section/rows inside of your div.
I would try this:
Add a fragment with a div and your own styleclass and a dropzone inside and drop the section/row inside.
Since you are inside your own dropzone, you should be able to apply styles to the section/rows inside of your div.
Ok, so it require to update from 7.2.x to the latest version. I will try on fresh instance to check this. Anyway thank you for responses

Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™