Foren

how to hide the site name beside the logo

long zhao, geändert vor 10 Jahren.

how to hide the site name beside the logo

Junior Member Beiträge: 39 Beitrittsdatum: 29.08.11 Neueste Beiträge
Hi all,
For the new version 6.2 CE, I do not want the site's name shown beside the logo. How to hide it?
Thanks
thumbnail
Zsolt Balogh, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

Expert Beiträge: 463 Beitrittsdatum: 23.03.09 Neueste Beiträge
Hi,

Go to Site Administration > Pages > Site Pages > Public Pages > Look and Feel.

In the CSS section you can find a a text block with the "Insert custom CSS that will be loaded after the theme." caption.

Copy & paste the following CSS code there:
.site-name {
display:none;
visibility:hidden;
}


This textarea can be used to modify the theme you are using on the site. You would need to be careful, you only change the theme for this site with this trick.

Zsolt
thumbnail
Milen Dyankov, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

Expert Beiträge: 310 Beitrittsdatum: 30.10.12 Neueste Beiträge
Alternatively go to Site Administration > Pages > Site Pages > Public Pages > Logo
and uncheck the "Show Site Name" checkbox ;)
thumbnail
Pankaj Kathiriya, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

Liferay Master Beiträge: 722 Beitrittsdatum: 05.08.10 Neueste Beiträge
Liferay classic theme in version 6.2 doesnt come with show site name setting configurable.
thumbnail
Milen Dyankov, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

Expert Beiträge: 310 Beitrittsdatum: 30.10.12 Neueste Beiträge
My copy of liferay-portal-6.2.0-ce-ga1 does ;)
Jörg Larbig, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

New Member Beiträge: 10 Beitrittsdatum: 09.08.12 Neueste Beiträge
My copy of liferay-portal-6.2.0-ce-ga1 does not :-( and the advanced link on the right is also missing
thumbnail
Milen Dyankov, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

Expert Beiträge: 310 Beitrittsdatum: 30.10.12 Neueste Beiträge
Oh yea, it does not work for the default site. Not sure what exactly is the reason for that but some variations of this code:

	<c:if test="<%= liveGroup.getGroupId() != guestGroup.getGroupId() %>">
                . . .
		<aui:input . name="TypeSettingsProperties--showSiteName--" type="checkbox" />
	</c:if>

have been in the portal for over 2 years so it should have been the same in 6.1
thumbnail
Milen Dyankov, geändert vor 10 Jahren.

RE: how to hide the site name beside the logo

Expert Beiträge: 310 Beitrittsdatum: 30.10.12 Neueste Beiträge
Just wanted to let you know this has been fixed in https://issues.liferay.com/browse/LPS-43505
Christian Richter, geändert vor 9 Jahren.

RE: how to hide the site name beside the logo

New Member Beiträge: 8 Beitrittsdatum: 21.09.14 Neueste Beiträge
But is it implemented already? I downloaded the 6.2 portal some weeks ago and now I wanted to hide the titel but still not be able to do it with the checkbox emoticon
thumbnail
Jitendra Rajput, geändert vor 9 Jahren.

RE: how to hide the site name beside the logo

Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
It should work with show site name check box . I found this snippet in portal_normal,vm

#if ($show_site_name)
						<span class="site-name" title="#language_format (" go-to-x", [$site_name])">
							$site_name
						</span>
					#end
Christophe Noel, geändert vor 9 Jahren.

RE: how to hide the site name beside the logo

Junior Member Beiträge: 99 Beitrittsdatum: 28.09.12 Neueste Beiträge
For information, no checkbox parameter in 6.2 GA2.
thumbnail
Olaf Kock, geändert vor 9 Jahren.

RE: how to hide the site name beside the logo

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Christophe Noel:
For information, no checkbox parameter in 6.2 GA2.


Surprise - Milen links LPS-43505, which states "Fixed in 6.2 GA3". Still, Zsolt's solution (see above) is available for those that don't want to upgrade.

But then, I don't understand the problem: The default site doesn't show the site name anyway, so there's no need for the checkbox to hide the name. It's only the non-default sites that show the name, and they have the checkbox, no?
Christophe Noel, geändert vor 9 Jahren.

RE: how to hide the site name beside the logo

Junior Member Beiträge: 99 Beitrittsdatum: 28.09.12 Neueste Beiträge
Hello,

In 6.2 GA2 the title is shown when you modify the logo (of the Classic theme) (on the default site).

Regards.
thumbnail
Olaf Kock, geändert vor 9 Jahren.

RE: how to hide the site name beside the logo

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Ok, I've missed that. Then just use the option that Zsolt described above