Hi Deciphered,
First of all, thank you for this module.
Second of all, pardon my ignorance but I'm having a hard time figuring out how to get the content part working.
I'll go step-by-step what I did and hopefully someone will find this info useful as well:
1) Downloaded and enabled the "Mobile Codes" module (../sites/all/modules/mobile_codes/)
2) I set up a new input format: (* see image filter-1.jpg)
Admin > Site Configuration > Input formats > Add input format >
../admin/settings/filters/add
3) Configured the new Input Format (Mobile Code) (* see image filter-2.jpg)
Mobile Code Type:
Datamatrix
Data Type:
Text
Mobile Code Size:
Medium
Convert URLs to Tiny URLs (left unchecked)
4) Saved the new input format
5) ran update.php
6) Create a new "Story", selected "Mobile Code" input format and typed in the code as indicated by instructions
(* see image view-1.jpg)
[mobilecode type="dm" data="text" size="medium" name="tester" tinyurl="0"]content[/mobilecode]
7) Viewed my newly created "Story page" (* see image view-2.jpg)
and indeed, the mobile code was generated
8) Edited the CONTENT section of the code and changed it from:
[mobilecode type="dm" data="text" size="medium" name="tester" tinyurl="0"]content[/mobilecode]
to
[mobilecode type="dm" data="text" size="medium" name="tester" tinyurl="0"]content[tester content]
and saved it
9) Viewed my newly created "Story page" (* see image view-4.jpg)
But the code is displayed as text and not a mobile code...
So I'm wondering whether the syntax I'm using for content[] is wrong or if I'm missing something here.
Thanks in advance for any tips!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | view-1.jpg | 77.92 KB | vasheck |
| #2 | view-2.jpg | 25.1 KB | vasheck |
| #2 | view-3.jpg | 74.88 KB | vasheck |
| #2 | view-4.jpg | 32.34 KB | vasheck |
| #1 | filter-1.jpg | 65.29 KB | vasheck |
Comments
Comment #1
vasheck commentedoops, seems like the images that I tried to attach didn't upload...
Comment #2
vasheck commentedComment #3
vasheck commentedOops, the answer was right in my face but I just didn't see it...
so if someone's wondering, this is the answer:
should have been changed to
Comment #4
vasheck commentedI guess I can close this issue now.
Comment #5
decipheredGlad I could help :)
Comment #6
newToo commentedI followed these instructions but no code image is displayed, only the red "x" where the image is suppose to be. On the server a .png image was created but its file size is "0" blank. I've tried reinstalling but none of the code images are created.
Comment #7
decipheredIt appears that the Nokia Mobilecodes site, the source of the codes, is dead... will look into a solution when I have a chance.
Comment #8
canadrian commentedThe Nokia site appears to be back up, though really, really slow.
If you have to abandon Nokia, will the generator at TECISoftware work? Their site is http://www.tec-it.com/
Comment #9
decipheredI intend to release a new version when I have some time that is completely modular, allowing for multiple different mobile code generators, including local libraries. So yes, chances are that generator will be an option, if not by default, easily added by users.
But I haven't had much time of late.
Cheers,
Deciphered.
Comment #10
decipheredJust a note, work on 2.x has begun and you can now define mobile code providers, including the ability to use PHP QR Code to generate your own code.
Current development is at http://github.com/Decipher/mobile_codes