Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module provides functionality to insert fontawesome icons as shortcodes. the module depends on the Shortcode module on Drupal.

Dependencies:

Shortcode Module - https://drupal.org/project/shortcode
Filter (Drupal core)
Fontawesome - https://drupal.org/project/fontawesome (although any theme that imports the Fontawesome API should work)

Installation.

1) Install dependancies, activate.
3) Configure text formats (admin/config/content/formats) to enable which text formats you want to be able to use the shortcodes.
4) Within each text format settings page, scroll to the bottom and enable which shortcodes specifically you want to be made available (this means you could limit the shortcodes per text format)
5) When entering your content, use the shortcodes as described below
6) And you are done! You have just Enabled the coolest font icon set in the web for your website through easy shortcodes

Shortcodes are a way to include extra functionality without having to know the html or having to mess about within the theme layer.

Usage:

[fontawesomeicon (name="font awesome icon name" | size="icon size | style="aditional style"")][/fontawesomeicon]

The amount of icons you have available will depend entirely on what version of fontawesome API you have enabled!

Project Information