Git Product home page Git Product logo

plg_system_fontawesome's Introduction

FontAwesome for Joomla

This project offers a Joomla! plugin to add FontAwesome icons.

First of all, the plugin simply loads the FontAwesome library remotely.

Second, any FontAwesome tag in your content will be translated into an icon:

{fa fa-camera-retro fa-2x}
{fa fa-spinner fa-spin}
{fa fa-circle-o-notch fa-spin}

The arguments after {fa ...} can include the fa- prefix, or the prefix can be skipped.

{fa fa-book}
{fa book}

Stacking is done by adding brackets:

{fa fa-stack fa-lg [fa-square-o fa-stack-2x][fa-twitter fa-stack-1x]}

To make it easier to use the same sequence multiple times, you can add the following to the plugins alias box:

stuff="fa-stack fa-lg [fa-square-o fa-stack-2x][fa-twitter fa-stack-1x]"

Or shorter:

stuff="stack lg [square-o stack-2x][twitter stack-1x]"

And now the following will do as well:

{fa stuff}

Benefits

  • Short tags require less typing
  • Tags are visible any WYSIWYG editor

Want to learn how to program Joomla plugins?

We have released an excellent guide for developing Joomla plugins: Programming Joomla Plugins written by Jisse Reitsma, a must-have for any serious Joomla developer.

https://www.yireo.com/books/programming-joomla-plugins-book

plg_system_fontawesome's People

Contributors

jissereitsma avatar renekreijveld avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.