Expression Engine Addons

Barcode - v0.9

Available for: EE1 EE2

JOA Barcode provides an expression engine wrapper for the one-dimensional barcode library from http://www.barcodephp.com/ . This library contains 18 different kinds of 1D barcodes, and non-commercial use is free of charge.

Features

  • 18 different kinds of 1D barcodes
  • multiple file formats (jpg, png, gif)
  • every color, rotation and scale is possible
  • does not need write access on your server

Installation Instructions

1. Unzip and place the “joa_barcode” folder in /system/expressionengine/third_party

this plugin makes use of a stand-alone class for image generation. this class is provided within the ‘joa_barcode’ directory, however if your system folder is not in the default location, you need to do the following:

2. move barcode1d.php and the barcode1d folder to a web-accessible location, for example
http://YOURSITE/classes/
3. change line 53 of pi.joa_barcode.php to reflect that change:
$this->lib = $this->EE->config->item(‘base_url’).“system/expressionengine/third_party/”.strtolower(CLASS).”/barcode1d.php”;
becomes
$this->lib = $this->EE->config->item(‘base_url’).“classes/”.“barcode1d.php”;

Frequently Asked Questions

1. where do I find the forum for this extension?
You can find more information, or ask questions, here: Barcode forum @ ByteDESiGN

2. in the installation instructions, it is mentioned that source code modification might be necessary before the plugin works. why is this?
There were two ways in how I envisioned my wrapper plugin to work; it would either generate the image itself, or it would generate a reference to an image. I chose to create a reference to an image, because I could then point to a standalone function that would generate the image inline, instead of dumping the image contents to a cache folder on the file system. This standalone function does have to we web-accessible though. So, either system has its benefits and drawbacks. I will probably change this plugin in the near future to an extension complete with control panel, in order to facilitate caching.

Downloads and Screenshots

and the download instructions