Vocabulary creation when module is enabled.
lbh - September 22, 2007 - 18:00
| Project: | Classified Ads |
| Version: | 5.x-1.5-8 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | patch (code needs review) |
Description
This is a patch to allow the module to create its vocabulary when it's enabled, and recognize when it's vocabulary has been deleted. It also ensures that if the module is disabled, and then re-enabled, it'll associate the classifieds node type with the vocabulary it previously created (if it still exists). I added a couple generic terms, "For Sale" and "Wanted" -- mostly for the sake of development... I noticed it was in your "todo" as well. :}
patched against 5.x-1.5-8
| Attachment | Size |
|---|---|
| ed_classified.module_vocab.patch | 2.67 KB |

#1
Wrong patch. I forget the delete part (which, by the way, was also lifted from the image module).. :)