Mobile Codes
The Mobile Codes module provides the ability to render Text, URLs or any other form of informaton as a Mobile Code, including but not limited to the QR codes and Datamatrix formats, providing a simple way of transfering said information from the screen to a Mobile phone.
Mobile Codes was written and is maintained by Stuart Clark (deciphered).
- http://stuar.tc/lark
Features:
- User definable and Features exportable Mobile Code Providers and Presets.
- Defaults provided:
- Six (6) External Providers.
- One (1) Internal Provider (see below).
- Three (3) to five (5) Presets (based on installed modules).
- Defaults provided:
- Render Mobile Codes via:
- CCK/Fields/Views formatters:
- CCK/Drupal core Text module.
- FileField/Drupal core File module.
- ImageField/Drupal core Image module.
- Link module.
- plus an example Custom Formatter for extended support.
- Input filter.
- Drupal API Theme() call.
- CCK/Fields/Views formatters:
- Blocks:
- Support for:
- [D7-DEV] Drupal core Image module - Use an Image style on the Mobile Codes.
- [D6] Mobile Tools module - Redirect internal Mobile Code URLs to Mobile site URL.
- [D6] Redirecting Click Bouncer module - Track URLs accessed via Mobile Codes.
- Shorten module - Shorten URLs in Mobile Codes.
Required modules
- Chaos tool suite module.
Recommended modules
- Custom Formatters module.
- Drupal core Image module.
- Libraries API module.
Configuration
All configuration for Mobile Codes can be found at:
[D6] Administer > Site configuration > Mobile Codes
[D6] http://[www.yoursite.com/path/to/drupal]/admin/settings/mobile_codes
[D7] Administer > Configuration > Content authoring > Mobile Codes
[D7] http://[www.yoursite.com/path/to/drupal]/admin/config/content/mobile_codes
Advanced configuration
- Setting up an internal Provider with the PHP QR Code library:
- Download, install and enable the Libraries API module.
- Download the PHP QR Code library.
-
Extract the PHP QR Code library to your Libraries directory.
e.g. sites/all/libraries/phpqrcode -
Clear cached data from the Perfomance page.
[D6] Administer > Site configuration > Performance
[D6] http://[www.yoursite.com/path/to/drupal]/admin/settings/performance
[D7] Administer > Configuration > Development > Performance
[D7] http://[www.yoursite.com/path/to/drupal]/admin/config/development/performance
Note: Mobile Codes will automatically detect the PHP QR Code library once installed as above and add a new PHP QR Code Provider to the list.