Foros de discusión

Disable the Screen name in portal page

thumbnail
Karthikeyan M, modificado hace 11 años.

Disable the Screen name in portal page

Junior Member Mensajes: 30 Fecha de incorporación: 16/02/13 Mensajes recientes
Hi Everbody,


I want to disable the Screen name and Last name in the portal page display. (For eg: In the private/public page "Test Test" which is displayed in the top right corner). Is there any possible solution for that. Kindly Find the attachment below.



Thanks in Advance,
Karthik

Archivos adjuntos:

thumbnail
Apoorva Prakash, modificado hace 11 años.

RE: Disable the Screen name in portal page

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Karthikeyan M:
Hi Everbody,

I want to disable the Screen name and Last name in the portal page display. (For eg: In the private/public page "Test Test" which is displayed in the top right corner). Is there any possible solution for that. Kindly Find the attachment below.

Thanks in Advance,
Karthik


Hello Karthikeyan,

You have to customize portal_normal.vm file of your theme.

HTH.

Thanks and Regards,
Apoorva Prakash
thumbnail
Karthikeyan M, modificado hace 11 años.

RE: Disable the Screen name in portal page

Junior Member Mensajes: 30 Fecha de incorporación: 16/02/13 Mensajes recientes
Hi Apoorva,

Thanks for your Reply,


Can You Kindly tell what changes that should I made in Portal-normal.vm.


Thank You,
Karthik,
thumbnail
Karthikeyan M, modificado hace 11 años.

RE: Disable the Screen name in portal page

Junior Member Mensajes: 30 Fecha de incorporación: 16/02/13 Mensajes recientes
Hi Apoorva Finally I had been sort out my issues, Thanks for your help.

I just removed the following code in my portal_normal.vm, and it works fine.

#if ($show_site_name)
<span class="site-name" title="#language("go-to") $site_name">
$site_name
</span>
#end
thumbnail
Apoorva Prakash, modificado hace 11 años.

RE: Disable the Screen name in portal page

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Karthikeyan M:
Hi Apoorva Finally I had been sort out my issues, Thanks for your help.

I just removed the following code in my portal_normal.vm, and it works fine.

#if ($show_site_name)
<span class="site-name" title="#language("go-to") $site_name">
$site_name
</span>
#end



Wonderful.. that's great... Welcome emoticon
Daniel Schreiber, modificado hace 9 años.

RE: Disable the Screen name in portal page

New Member Mensaje: 1 Fecha de incorporación: 24/06/14 Mensajes recientes
Don't know if it helps, but a slighly cleaner way might be to add
#set ( $show_site_name = false)

to init_custom.vm