Mobile Codes

Deciphered - May 10, 2008 - 05:35
mobile_codes.png

Mobile Codes generates Datamatrix or QR Code mobile barcodes that can be read by many camera phones. The codes can contain URLs, Text or Phone Numbers, making it easy to pass data directly to a mobile phone.
For more information on the creation and use of these mobile codes checkout the Nokia Mobile codes site.

The Mobile Codes module provides a filter to generate the codes, with the following format:
[mobilecodes type="type" data="data type" size="size" name="name" tinyurl="tinyurl"]content[/mobilecode]

Possible Attributes:

  • type - Mobile barcode type:
    • dm - Datamatrix (module default)
    • qr - QR Code
  • data - Mobile barcode data type:
    • link - URL (module default)
    • phone - Phone Number
    • text - Text
  • size - Size of mobile barcode:
    • small - Small
    • medium - Medium (module default)
    • large - Large
  • name - Name of your mobile barcode
    • User defined
  • tinyurl - TinyURL behaviour (for URLs only)
    • 0 - Only convert to TinyURL if URL is longer than 60 characters (module default)
    • 1 - Always convert to TinyURL
  • content - Data to embed into mobile code (required)
    • User defined

Note: the only required attribute is content as all others will default to either a user defined default or the module defined default.

Releases

Official releasesDateSizeLinksStatus
6.x-1.02008-May-117.84 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Jun-128.3 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Jun-258.27 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.