Foren
breadcrumb implementation in liferay
sravan kumar, geändert vor 9 Jahren.
breadcrumb implementation in liferay
Junior Member Beiträge: 78 Beitrittsdatum: 19.02.13 Neueste Beiträge
where i can find breadcrumb implementation in liferay source?
Subhash Pavuskar, geändert vor 9 Jahren.
RE: breadcrumb implementation in liferay
Regular Member Beiträge: 234 Beitrittsdatum: 13.03.12 Neueste Beiträge
Hi ,
You can find it in source code of portal, in file portal-impl\src\VM_liferay.vm.
You can find it in source code of portal, in file portal-impl\src\VM_liferay.vm.
Meera Prince, geändert vor 9 Jahren.
RE: breadcrumb implementation in liferay
Liferay Legend Beiträge: 1111 Beitrittsdatum: 08.02.11 Neueste Beiträge
Hi
Use following tag and provide required attributes
<liferay-ui:breadcrumb
displayStyle="<%= displayStyle %>"
showCurrentGroup="<%= showCurrentGroup %>"
showCurrentPortlet="<%= showCurrentPortlet %>"
showGuestGroup="<%= showGuestGroup %>"
showLayout="<%= showLayout %>"
showParentGroups="<%= showParentGroups %>"
showPortletBreadcrumb="<%= showPortletBreadcrumb %>"
/>
https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/breadcrumb/view.jsp
Regards,
Meera Prince
Use following tag and provide required attributes
<liferay-ui:breadcrumb
displayStyle="<%= displayStyle %>"
showCurrentGroup="<%= showCurrentGroup %>"
showCurrentPortlet="<%= showCurrentPortlet %>"
showGuestGroup="<%= showGuestGroup %>"
showLayout="<%= showLayout %>"
showParentGroups="<%= showParentGroups %>"
showPortletBreadcrumb="<%= showPortletBreadcrumb %>"
/>
https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/html/portlet/breadcrumb/view.jsp
Regards,
Meera Prince
sravan kumar, geändert vor 9 Jahren.
RE: breadcrumb implementation in liferay
Junior Member Beiträge: 78 Beitrittsdatum: 19.02.13 Neueste Beiträge
Ho can we enable or disable breadcrumb in liferay themes?
Subhash Pavuskar, geändert vor 9 Jahren.
RE: breadcrumb implementation in liferay
Regular Member Beiträge: 234 Beitrittsdatum: 13.03.12 Neueste Beiträge
2 ways that i know
1.
You can remove the breadcrum by commenting out the following lines of code in portal-normal.vm file present in path
liferay-tomcat6.x/webapps/ROOT/html/themes/classic/templates
Not a good practice to modify the default themes provided by liferay so it's better to do the above changes in your custom theme.
2.
Go to look and feel of your site pages (Public or Private) and add the following CSS
1.
You can remove the breadcrum by commenting out the following lines of code in portal-normal.vm file present in path
liferay-tomcat6.x/webapps/ROOT/html/themes/classic/templates
<nav class="site-breadcrumbs" id="breadcrumbs">
<h1>
<span>#language("breadcrumbs")</span>
</h1>
#breadcrumbs()
</nav>
Not a good practice to modify the default themes provided by liferay so it's better to do the above changes in your custom theme.
2.
Go to look and feel of your site pages (Public or Private) and add the following CSS
.site-breadcrumbs { display:none; }