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
LR 7.1 Using fragments
I know fragments can be used on 'content pages'. But can they be used on 'widget pages'. I don't see how to include a fragment on a widget page. For that matter, I don't see how to include widgets on a ' content page'. Here's hoping someone can shed some light on this for me.
thanks
Hi Gordon,
AFAIK fragments can include widgets only if the widget has been developed to be included in a fragment. Standing at what is reported here, all portlet developed as (OSGI) components that declare the property "com.liferay.fragment.entry.processor.portlet.alias=app-name" can be included in a fragment with the tag "lfr-widget-app-name".
At the moment I'm writing, on Liferay 7.1 CE GA1, these are the widgets/portlets that can be included in a fragment:
<lfr-widget-polls></lfr-widget-polls> <lfr-widget-related-assets></lfr-widget-related-assets> <lfr-widget-site-map></lfr-widget-site-map> <lfr-widget-tags-nav></lfr-widget-tags-nav> <lfr-widget-tag-cloud></lfr-widget-tag-cloud> <lfr-widget-categories-nav></lfr-widget-categories-nav> <lfr-widget-media-gallery></lfr-widget-media-gallery> <lfr-widget-nav></lfr-widget-nav> <lfr-widget-rss></lfr-widget-rss> <lfr-widget-breadcrumb></lfr-widget-breadcrumb> <lfr-widget-iframe></lfr-widget-iframe> <lfr-widget-asset-list></lfr-widget-asset-list> <lfr-widget-web-content></lfr-widget-web-content> <lfr-widget-form></lfr-widget-form> <lfr-widget-dynamic-data-list></lfr-widget-dynamic-data-list>
HTH,
Denis
Denis: thanks for the reply! That helped me alot.
thanks again
Powered by Liferay™