Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bruce Wood
How to remove 'Liferay' from breadcrumbs?
May 27, 2013 12:35 PM
Answer

Bruce Wood

Rank: New Member

Posts: 8

Join Date: May 24, 2013

Recent Posts

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!
Vitaliy Koshelenko
RE: How to remove 'Liferay' from breadcrumbs?
May 27, 2013 2:18 PM
Answer

Vitaliy Koshelenko

Rank: Expert

Posts: 286

Join Date: March 25, 2011

Recent Posts

Hi, Bruce.

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

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


Vitaliy
Subhash Pavuskar
RE: How to remove 'Liferay' from breadcrumbs?
May 27, 2013 8:49 PM
Answer

Subhash Pavuskar

Rank: Regular Member

Posts: 234

Join Date: March 12, 2012

Recent Posts

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 !!
Tejas patel
RE: How to remove 'Liferay' from breadcrumbs?
May 28, 2013 1:51 AM
Answer

Tejas patel

Rank: Junior Member

Posts: 71

Join Date: January 23, 2012

Recent Posts

Hi Bruce,

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


breadcrumb.show.guest.group=false
Friends Team
RE: How to remove 'Liferay' from breadcrumbs?
May 28, 2013 4:08 AM
Answer

Friends Team

Rank: Junior Member

Posts: 97

Join Date: September 3, 2012

Recent Posts

this post very useful for me..
Amit Doshi
RE: How to remove 'Liferay' from breadcrumbs?
May 28, 2013 5:30 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 549

Join Date: December 29, 2010

Recent Posts

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
RE: How to remove 'Liferay' from breadcrumbs?
May 29, 2013 4:37 AM
Answer

Bruce Wood

Rank: New Member

Posts: 8

Join Date: May 24, 2013

Recent Posts

Thanks for all your help. I'll try all those out..