Foren

Home » Liferay Social Office

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Peter Key
Unable to Change Company Logo
13. September 2011 23:58
Antwort

Peter Key

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 30. Juni 2010

Neue Beiträge

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. September 2011 23:47
Antwort

Peter Key

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 30. Juni 2010

Neue Beiträge

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. September 2011 04:41
Antwort

Rojalin Patri

Rang: Expert

Nachrichten: 287

Eintrittsdatum: 22. März 2011

Neue Beiträge

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. September 2011 22:25
Antwort

Peter Key

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 30. Juni 2010

Neue Beiträge

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. September 2011 00:21
Antwort

Rojalin Patri

Rang: Expert

Nachrichten: 287

Eintrittsdatum: 22. März 2011

Neue Beiträge

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. November 2012 22:42
Antwort

Shankar Baba

Rang: Regular Member

Nachrichten: 144

Eintrittsdatum: 17. Oktober 2012

Neue Beiträge

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

logan gibs

Rang: New Member

Nachrichten: 2

Eintrittsdatum: 7. Dezember 2012

Neue Beiträge

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. Januar 2013 09:37
Antwort

Evan Thibodeau

LIFERAY STAFF

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 29. März 2012

Neue Beiträge

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. Januar 2013 05:06
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

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.