Closed (fixed)
Project:
Barcode
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2011 at 18:25 UTC
Updated:
27 Feb 2012 at 17:07 UTC
First of all, this is a great module!
I think it would be beneficial if this module can integrate with Serial Field Module so that when creating a new node, a unique serial number that can be used as a barcode is generated automatically.
Comments
Comment #1
modctek commentedI have a client who is interested in this line of inquiry. Has anyone looked into this? We may be willing to sponsor a bounty for this integration.
Comment #2
skyredwangThis is a special need; If you are interested in the sponsorship, please contact me via Drupal contact. thanks
Comment #3
aCCa commentedI've done it using RULES modules. Just populate the barcode field with the value generated by the serial one.
Hope it help.
Comment #4
s920002625 commentedI very much need, and can teach me how to set rules ?
Comment #5
aCCa commentedHi,
basically you should add a new rule that fills for you the barcode when new content is created starting from the serial field. The steps are:
If you didn't use Rules before have a look here: http://dev.nodeone.se/node/646
Hope it can help.
Comment #6
s920002625 commentedThink you very much....,
but I still can not understand....
Can you explain it "3.set some condition on the type of the content (optional)"
and "4.use 'populate a field' (under CCK category) as action"
and "6.Use the token of your serial field : [node:field_YOUR_TOC_SERIAL_FIELD-id] "
I have many not to understand .....(perhaps my english is not good).....
Perhaps I have a lot of module not to install yet....
can you list how many modules do I install?
if you can take a video and put on website I will appreciation ,think you.
Comment #7
aCCa commentedYou should understand the Rules module before. have a look at the screencast I've linked in my previous post.
When understood Rules module you will be able to do the 3,4 steps.
For step 6 you need Token module, instead.
So start downloading, installing and playing with:
Rules module
Token module
and of course Serial and Barcode modules.
Really sorry but I've no time to make a screencast.