Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Shane Sullivan
Multiple Hyperlnks on Company logo
March 14, 2012 1:47 PM
Answer

Shane Sullivan

Rank: Junior Member

Posts: 29

Join Date: October 29, 2009

Recent Posts

Where and what do I need to add to allow my company logo to have different hyperlinks based on mouse position on the logo. I think image mapping is the way to go, but do not know whe to ad that code to make it work. I am using the envison theme.
David H Nebinger
RE: Multiple Hyperlnks on Company logo
March 14, 2012 2:07 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11060

Join Date: September 1, 2006

Recent Posts

image mapping is the way to go, but you'll find it is easier to manage all of this in a theme. The default for all themes is to use the company image as a link to the primary page and you're varying from that.

Create a new theme w/ envision as the parent, then you can modify the parts of the theme to use your image map stuff.
Hitoshi Ozawa
RE: Multiple Hyperlnks on Company logo
March 14, 2012 5:59 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

If you have multiple companies with different logo and different set of areas and links, it may be easier not to use Liferay's Company Logo feature but just upload your images to a file directory instead because Liferay uploads company logos to a database. I think your theme would get complicated if you're in multi-tenant environment and if you want to use a common theme.
Shane Sullivan
RE: Multiple Hyperlnks on Company logo
March 16, 2012 7:26 AM
Answer

Shane Sullivan

Rank: Junior Member

Posts: 29

Join Date: October 29, 2009

Recent Posts

It is really not a different logo by page. You almost have to picture a logo that has 3 different pictures emedded in one logo. Something similar to a Company logo on the left and 2 sponsor logos to the right stack on top of each other. The main logo goes back to our company home page and each sponsor logo goes to it own home page.
Hitoshi Ozawa
RE: Multiple Hyperlnks on Company logo
March 16, 2012 7:55 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I had a client with a similar requirement. Instead of image mapping, I just modified the template to show 3 images. I kept the company logo to show for main sponsor and just modified to show other logos. This is much easier to implement and to maintain.
Hitoshi Ozawa
RE: Multiple Hyperlnks on Company logo
March 21, 2012 3:23 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Check this thread on how to setup multiple company logos.

http://www.liferay.com/community/forums/-/message_boards/message/12471595