Internet Explorer 6 is not supported.
Upgrade to view this site.

PyroCMS Fonts Module

Posted on January 19, 2012 at 11:49 pm

I just released an addon module for PyroCMS. For those of you that may not know, PyroCMS is a content management system built on Codeigniter. For those of you that may not know Codeigniter, Google that shit. I can’t explain everything.

The Fonts module manages, protects and obfuscates webfonts. Your webfonts are protected by checking HTTP_REFERER to make sure that only requests from your website will be allowed to download the fonts. Direct directory download of the fonts is denied with an .htaccess rule in the fonts directory. The physical location of your fonts is hidden with programatic access through an encoded link.

This module allows you to manage all your webfonts. The fonts are accessible for any theme you use and can be disabled for usage if you aren’t using a particular font with the active theme. This module generates an @font-face stylesheet to display your fonts. This stylesheet link can be inserted into your themes with the {{fonts:css}} template tag. You can pick up a copy of it at the PyroCMS store for $4.

There are 2 branches of this module. One supports the 1.x.x version of PyroCMS and the other is made to 2.x.x and future versions of the CMS. As of the writing of this post, Fonts 1.0 is not on the store as they are having an internal meeting about how we’re handling 1.x modules in their new store.

Categories
Tags

Leave a Comment

*Required fields. Email will not be published.