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
RE: Source code for default widget like asset publisher, web content etc.
Hi everyone. How to find source code for these widgets? I wanna change markup and add new html, css structure with like, comments which are already implemented out of the box in Liferay. How to reuse this code in widget template? Like and tags.
I use last version Liferay 7.4
I'd recommend to rather use the Collection Display fragment and compose the content out of other regular fragments. This way you have all the HTML/CSS at your fingertip and don't need to deal with freemarker-template-debugging.
AFAIK AssetPublisher is even deprecated, so you'd have to do this with one of the next updates anyway.