I have some experience with Drupal (20+ installs/configurations) but have not really spent much time "under the hood" creating modules etc. untill recently.
I would like to create a new content type and would like to use a different id/ primary key, pid (player id) as opposed to nid or cid
Does anyone have experience with this kind of thing? Is it just a matter of writing my table that way, and designing my DB calls in to pull that content? Are there other factors that I should consider? API/compatability nightmares down the road?
Please keep in mind that I am self-taught, smart enough, but I have to wade through the lingo a bit sometimes :D
Comments
no ones got nothing to offer
no ones got nothing to offer eh?
seems that my questions never get any responses
Well...
I, for one, didn't spot the pots until today :)
Can I ask why you're looking to create a new primary key? I've written a few modules that used custom primary keys, but they were usually for secondary data types, like votes or files, rather than full-fledged nodes...
--
Eaton's blog | VotingAPI discussion
--
Eaton — Partner at Autogram