Jump to content

how can we add other social profile link in footer (android)


Saurabh Jain
 Share

Recommended Posts

There are at least two applications in the marketplace for additional social icons, afaik with one of them it should be possible.

[edit] Quick and dirty? Replace template siteSocialProfiles with this ...

{{if \IPS\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links )}}

<style>
  	.cShareLink_android { background: #689F38; }
	.cShareLink_apple { background: #F76BC1; }
</style>  

		<li class='cUserNav_icon'>
			<a href='https://www.android.com' target='_blank' class='cShareLink cShareLink_android' rel='noopener noreferrer'><i class='fa fa-android'></i></a>
		</li>

		<li class='cUserNav_icon'>
			<a href='https://www.apple.com' target='_blank' class='cShareLink cShareLink_apple' rel='noopener noreferrer'><i class='fa fa-apple'></i></a>
		</li>

{{foreach $links as $profile}}
		<li class='cUserNav_icon'>
			<a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_{$profile['value']}' rel='noopener noreferrer'><i class='fa fa-{$profile['value']}'></i></a>
		</li>
	{{endforeach}}
{{endif}}

social_icons.png

Edited by V0RT3X666
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...