Closed (works as designed)
Project:
ISBN Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2011 at 21:11 UTC
Updated:
12 Sep 2012 at 02:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
jody lynnComment #2
commanderflash commentedI have added the code above to the cck module file. I assume that this is where it goes. I have a field that was created and has an ISBN in it. How does one set the field to use this format?
Comment #3
jody lynnYou should never edit drupal modules that you didn't write yourself. This breaks your ability to upgrade them.
To use the above code you need to put it into a new custom module called isbn_google.module and create a corresponding isbn_google.info file for it.
Comment #4
commanderflash commentedI wondered about that. I am never of fan of modifying a modules files. Thanks for the quick response. I ended up just handling it in my content template file.
Comment #5
jon pugh