Foros de discusión

how to hide the site name beside the logo

long zhao, modificado hace 10 años.

how to hide the site name beside the logo

Junior Member Mensajes: 39 Fecha de incorporación: 29/08/11 Mensajes recientes
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, modificado hace 10 años.

RE: how to hide the site name beside the logo

Expert Mensajes: 463 Fecha de incorporación: 23/03/09 Mensajes recientes
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, modificado hace 10 años.

RE: how to hide the site name beside the logo

Expert Mensajes: 310 Fecha de incorporación: 30/10/12 Mensajes recientes
Alternatively go to Site Administration > Pages > Site Pages > Public Pages > Logo
and uncheck the "Show Site Name" checkbox ;)
thumbnail
Pankaj Kathiriya, modificado hace 10 años.

RE: how to hide the site name beside the logo

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
Liferay classic theme in version 6.2 doesnt come with show site name setting configurable.
thumbnail
Milen Dyankov, modificado hace 10 años.

RE: how to hide the site name beside the logo

Expert Mensajes: 310 Fecha de incorporación: 30/10/12 Mensajes recientes
My copy of liferay-portal-6.2.0-ce-ga1 does ;)

Archivos adjuntos:

Jörg Larbig, modificado hace 10 años.

RE: how to hide the site name beside the logo

New Member Mensajes: 10 Fecha de incorporación: 9/08/12 Mensajes recientes
My copy of liferay-portal-6.2.0-ce-ga1 does not :-( and the advanced link on the right is also missing

Archivos adjuntos:

thumbnail
Milen Dyankov, modificado hace 10 años.

RE: how to hide the site name beside the logo

Expert Mensajes: 310 Fecha de incorporación: 30/10/12 Mensajes recientes
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, modificado hace 10 años.

RE: how to hide the site name beside the logo

Expert Mensajes: 310 Fecha de incorporación: 30/10/12 Mensajes recientes
Just wanted to let you know this has been fixed in https://issues.liferay.com/browse/LPS-43505
Christian Richter, modificado hace 9 años.

RE: how to hide the site name beside the logo

New Member Mensajes: 8 Fecha de incorporación: 21/09/14 Mensajes recientes
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, modificado hace 9 años.

RE: how to hide the site name beside the logo

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
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, modificado hace 9 años.

RE: how to hide the site name beside the logo

Junior Member Mensajes: 99 Fecha de incorporación: 28/09/12 Mensajes recientes
For information, no checkbox parameter in 6.2 GA2.
thumbnail
Olaf Kock, modificado hace 9 años.

RE: how to hide the site name beside the logo

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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, modificado hace 9 años.

RE: how to hide the site name beside the logo

Junior Member Mensajes: 99 Fecha de incorporación: 28/09/12 Mensajes recientes
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, modificado hace 9 años.

RE: how to hide the site name beside the logo

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
Ok, I've missed that. Then just use the option that Zsolt described above