Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Peter Key
Unable to Change Company Logo
September 13, 2011 11:58 PM
Answer

Peter Key

Rank: New Member

Posts: 10

Join Date: June 30, 2010

Recent Posts

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
September 18, 2011 11:47 PM
Answer

Peter Key

Rank: New Member

Posts: 10

Join Date: June 30, 2010

Recent Posts

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
September 23, 2011 4:41 AM
Answer

Rojalin Patri

Rank: Expert

Posts: 287

Join Date: March 22, 2011

Recent Posts

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
September 25, 2011 10:25 PM
Answer

Peter Key

Rank: New Member

Posts: 10

Join Date: June 30, 2010

Recent Posts

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
September 26, 2011 12:21 AM
Answer

Rojalin Patri

Rank: Expert

Posts: 287

Join Date: March 22, 2011

Recent Posts

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
November 19, 2012 10:42 PM
Answer

Shankar Baba

Rank: Regular Member

Posts: 144

Join Date: October 17, 2012

Recent Posts

Thanx, it worked for me,thanks .
logan gibs
RE: Unable to Change Company Logo
January 2, 2013 9:46 PM
Answer

logan gibs

Rank: New Member

Posts: 2

Join Date: December 7, 2012

Recent Posts

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
January 3, 2013 9:37 AM
Answer

Evan Thibodeau

LIFERAY STAFF

Rank: New Member

Posts: 4

Join Date: March 29, 2012

Recent Posts

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
January 4, 2013 5:06 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

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.