Hi!
The module description states "Create Datamatrix or QR codes via an input filter or a direct call in your template".
How can we call this in a template file?

Thanks!
Ricardo

Comments

deciphered’s picture

Status: Active » Postponed

Ridiculously, I expected it to be done with a call to the following function:

  mobile_codes_generate();

However that is clearly unrealistic.

I will try to push out some changes over the next few days to get a proper theme() function.

rbl’s picture

Thanks =)

deciphered’s picture

Status: Postponed » Fixed

A theme() function has been committed to HEAD, DRUPAL-6--1 and DRUPAL-5.

I still need to update the documentation, but if you just want the default settings, you can use the following code:

print theme('mobilecode', 'content');

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.