Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

add social media link and icons

Avatar

Level 3

Hi everyone

I’m trying to add social media icons ( Facebook, LinkedIn, Instagram, YouTube an Pinterest), just like the picture below.

I want to add the icons in the footer which is a experience fragment.

sociamedia.png

 

I want to be able to configure the links on each icon, so when a user clicks on each icon he can be redirected to that social media page.

 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @odabio,

You can consider one of the below two options

  • Extend OOTB Button component (Need to have a means to locate the image/icons from DAM and amend HTL accordingly. You can extend along the similar lines as in the below blog ) 
  • Completely custom - Multifield component with each set having two fields, one to locate image and other to provide link and respective rendering logic.

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @odabio,

You can consider one of the below two options

  • Extend OOTB Button component (Need to have a means to locate the image/icons from DAM and amend HTL accordingly. You can extend along the similar lines as in the below blog ) 
  • Completely custom - Multifield component with each set having two fields, one to locate image and other to provide link and respective rendering logic.