This project is not covered by Drupal’s security advisory policy.
link_socicon module provides:
- field formatter Link Socicon: turn your links (field type link from Drupal's core) into Socicon's icons (http://socicon.com/).
- socicon library definition so you can use it anywhere
Installation
- Download Socicon (http://socicon.com)
- Copy downloaded folder to link_socicon (Correct path is modules/link_socicon/socicon)
- Enable module link_socicon
Use as a field formatter
- Add Link field to your content type, maybe you need to enable module Link first
- Follow Installation steps
- In your content type display settings (admin/structure/types/manage/{your-content-type}/display), select Link Socicon
as field Link display.
Use as a library
- Follow Installation steps
-
In your Drupal's render-able array, attach socicon library
$elements = array( '#type' => 'container', '#attached' => array( 'library' => array( 'link_socicon/socicon', ), ), ); -
Follow Socicon offical instruction to use it - http://socicon.com
<span class="socicon">A</span> <!-- Twitter icon -->
Change icon color, size
.socicon {
font-family: 'socicon' !important;
font-size: 16px;
color: #cacaca;
}
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Site structure, Integrations, Developer tools
- Created by olragon on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
