Fóruns

Início » Liferay Social Office

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Peter Key
Unable to Change Company Logo
13 de Setembro de 2011 23:58
Resposta

Peter Key

Ranking: New Member

Mensagens: 10

Data de entrada: 30 de Junho de 2010

Mensagens recentes

As Administrator from the Control Panel, and accessing Portal -> Settings -> Display Settings I am unable to update the logo. Whilst I can import and change the existing (LifeRay Social Office) logo to my chosen company logo and it displays correctly in the Control Panel, when I switch back to the home screen the Liferay logo has not been changed. What is going wrong here??
Peter Key
RE: Unable to Change Company Logo
18 de Setembro de 2011 23:47
Resposta

Peter Key

Ranking: New Member

Mensagens: 10

Data de entrada: 30 de Junho de 2010

Mensagens recentes

Is there anybody out there who can help with this? It is pretty fundamental to getting Socioal Office properly configured for a real world implementation......
Rojalin Patri
RE: Unable to Change Company Logo
23 de Setembro de 2011 04:41
Resposta

Rojalin Patri

Ranking: Expert

Mensagens: 287

Data de entrada: 22 de Março de 2011

Mensagens recentes

Hi Peter,
the liferay logo is in /themes/classic/images/favicon.ico
Replace this favicon.ico with yourimage.ico and then restart the server.From front-end you can just go to "portal settings " in control panel and then upload your logo there.To remove the logo from the title bar
Remove this line in html/common/themes/top_head.jsp, then the image wont be displayed.
<link rel="Shortcut Icon" href="<%= themeDisplay.getPathThemeImages() %>/<%= PropsValues.THEME_SHORTCUT_ICON %>" />
if you want your logo in the title bar as well then set "theme.shortcut.icon=your logo.ico" in portal-ext.properties and then add the following line in top_head.jsp
<link rel="Shortcut Icon" href="<%= themeDisplay.getPathThemeImage() %>/your_logo.ico" />
Hope this helps....
Peter Key
RE: Unable to Change Company Logo
25 de Setembro de 2011 22:25
Resposta

Peter Key

Ranking: New Member

Mensagens: 10

Data de entrada: 30 de Junho de 2010

Mensagens recentes

Hi Rojalin,
Thanks for your time in providing me an answer. Just to be clear, what I wanted to change (as well as any icon images) was the "LifeRay | Social Office" coloured text at the top left of the portal pages, together with the four coloured dots below it. I had imagined that this was possible in a very straightforward fashion simply by accessing the "portal settings" ion control panel and changing the logo image to a jpeg image I upload, which seems to be what is intended. However, as I said previously, when I do this, my new logo jpeg image appears in the portal settings page as uploaded and displays, but when I go back to home page, the image displaying is still the Social Office logo. Am I doing something wrong?
Unfortunately I am not a programmer, so editing and changing Java class files, whilst not impossible for me to do, seems to not be the easy user experience advertised of Social Office! Am I missing something here or is this a bug in SO?
Peter
Rojalin Patri
RE: Unable to Change Company Logo
26 de Setembro de 2011 00:21
Resposta

Rojalin Patri

Ranking: Expert

Mensagens: 287

Data de entrada: 22 de Março de 2011

Mensagens recentes

Hi Peter,
Actually it should happen in that way.Not sure why it's not retaining the uploaded image in between page navigation.But i would suggest you please remove the following code portion from top_head.jsp present in liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/html/common/themes
<c:if test="<%= !themeDisplay.getCompanyLogo().equals(StringPool.BLANK) %>">
#heading .logo {
background: url(<%= HtmlUtil.escape(themeDisplay.getCompanyLogo()) %>) no-repeat;
display: block;
font-size: 0;
height: <%= themeDisplay.getCompanyLogoHeight() %>px;
text-indent: -9999em;
width: <%= themeDisplay.getCompanyLogoWidth() %>px;
}
</c:if>
that would definitely remove the liferay logo from the home page.
Please share the screen shot so that i can understand the problem clearly.
Shankar Baba
RE: Unable to Change Company Logo
19 de Novembro de 2012 22:42
Resposta

Shankar Baba

Ranking: Regular Member

Mensagens: 144

Data de entrada: 17 de Outubro de 2012

Mensagens recentes

Thanx, it worked for me,thanks .
logan gibs
RE: Unable to Change Company Logo
2 de Janeiro de 2013 21:46
Resposta

logan gibs

Ranking: New Member

Mensagens: 2

Data de entrada: 7 de Dezembro de 2012

Mensagens recentes

I've tried this sooo many times but I am still unable to change it. It is annoying! I can change it on all other domains I administer. The image in 143x59 and is 7k in size.

I've tried numerous computers and browsers (including chrome)
Evan Thibodeau
RE: Unable to Change Company Logo
3 de Janeiro de 2013 09:37
Resposta

Evan Thibodeau

LIFERAY STAFF

Ranking: New Member

Mensagens: 6

Data de entrada: 29 de Março de 2012

Mensagens recentes

Hi Logan,

What version of Liferay Portal and Social Office are you running?

Also, specifically what image are you trying to change, and on which pages?

Thanks,
Evan
Hitoshi Ozawa
RE: Unable to Change Company Logo
4 de Janeiro de 2013 05:06
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7990

Data de entrada: 23 de Março de 2010

Mensagens recentes

If you're using jpg format, try converting to png format and using that. Liferay has some problem with jpg format which hasn't been fixed.