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

Comments

lbh’s picture

StatusFileSize
new3.05 KB

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

fgm’s picture

Version: 5.x-1.5-8 » 6.x-3.x-dev
Status: Needs review » Needs work

Bumping version: features will only be considered for the latest and next versions, so patch needs to be ported (was against 5.x-1.5-8)

fgm’s picture

Status: Needs work » Fixed

Actually, 6.x-3.x and 7.x-3.x create and delete the vocabulary on install/uninstall, so this is fixed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.