Fórum

How to remove 'Liferay' from breadcrumbs?

Bruce Wood, modificado 10 Anos atrás.

How to remove 'Liferay' from breadcrumbs?

New Member Postagens: 8 Data de Entrada: 24/05/13 Postagens Recentes
It seems that liferay comes with a default site called liferay that is the nominal head of the hierarchy of organizations.

If you create an organization, the breadcrumbs show:

Liferay -> My org

and if you click on 'Liferay', you get the default liferay site that you get when you first log in and start configuring liferay.

How do you stop 'Liferay' from being at the head of the hierarchy? If I create an organization, I'd like for the breadcrumbs to say

My org -> My page.

Even on demo tutorials they all have 'liferay ->' at the start of the hierarchy. This link is clickable and goes to something nothing to do with the organizations you set up.

How do people fix this in the breadcrumbs?

Many thanks!
thumbnail
Vitaliy Koshelenko, modificado 10 Anos atrás.

RE: How to remove 'Liferay' from breadcrumbs? (Resposta)

Expert Postagens: 319 Data de Entrada: 25/03/11 Postagens Recentes
Hi, Bruce.

You can do it in css by setting display="none" for the first-child element of breadcrumb.

.breadcrumb a:first-child {
 display: none;
}


Vitaliy
thumbnail
Subhash Pavuskar, modificado 10 Anos atrás.

RE: How to remove 'Liferay' from breadcrumbs?

Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
Create your custom theme in your \_diffs\templates folder portal_normal.vm file you ll find div tag for breadcrumb you can comment it or remove it !!
Hope this may help you !!
thumbnail
Tejas patel, modificado 10 Anos atrás.

RE: How to remove 'Liferay' from breadcrumbs?

Junior Member Postagens: 71 Data de Entrada: 24/01/12 Postagens Recentes
Hi Bruce,

Set under given property in portal-ext.properties file, so it hide the group name.


breadcrumb.show.guest.group=false
friends friends, modificado 10 Anos atrás.

RE: How to remove 'Liferay' from breadcrumbs?

Junior Member Postagens: 95 Data de Entrada: 03/09/12 Postagens Recentes
this post very useful for me..
thumbnail
Amit Doshi, modificado 10 Anos atrás.

RE: How to remove 'Liferay' from breadcrumbs?

Liferay Master Postagens: 550 Data de Entrada: 29/12/10 Postagens Recentes
Hi, Bruce.

As you are creating your Organization or Sites then obviously you might be creating themes for it.

You can directly change it from the theme itself as Subhash mentioned.

Thanks & Regards,
Amit Doshi
Bruce Wood, modificado 10 Anos atrás.

RE: How to remove 'Liferay' from breadcrumbs?

New Member Postagens: 8 Data de Entrada: 24/05/13 Postagens Recentes
Thanks for all your help. I'll try all those out..