Closed (fixed)
Project:
PageFlip: Book, Magazine, Comic Viewer
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Oct 2010 at 08:53 UTC
Updated:
11 May 2012 at 02:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
adamdicarlo commentedPageFlip itself (beta1 at least) doesn't create any database tables. It just stores some entries in the variables table. If you imported content types from the included text files, you'll have to manually remove those content types from your Drupal installation.
The variables should probably be cleaned up on uninstall, so I'll leave this open.
Comment #2
l.damen commentedI have disabled the modules, the modules weren't in the deinstall section.
I have 3 content types of page book, which didn't removed himself.
I don't have a delete button, so i can't remove them, i would like to clean up the content types, any idea's?
(all the fields that we're related to eachother are deleted)
Comment #3
Anonymous (not verified) commentedsame here .. why cant you get rid of the content types with this module?
Comment #4
adamdicarlo commentedYou can run this query on your site's database to make the content types deletable:
(If you don't have direct database access method, I'm pretty sure the devel module gives you a box into which you can type a query.)
Comment #5
Anonymous (not verified) commentedThanks adamdicarlo :)
Comment #6
Alessandro Pezzato commentedthanks adamdicarlo! this helped me :)
Comment #7
adamdicarlo commentedThe module should delete its content types when you choose to uninstall it, so I'm turning this issue into a bug report for that.
Comment #8
adamdicarlo commentedComment #9
vensiresIn file pageflip.module append this function
and in pageflip.import.inc append this one
After appending and saving, upon disabling the module, the node types will be deleted.
PS: I attach the pageflip module (version 6.x-1.0-beta4) with the changes described above.
Comment #10
adamdicarlo commentedThis code should all be in hook_uninstall() in the pageflip.install file (not hook_disable). So just hook_uninstall() -- there's no need to have a separate function (_pageflip_remove_fields). Could you roll this as an actual patch off of 6.x-1.x and submit that?
Comment #11
vensiresYes, it really has to be in the .install file. But since the developer used the _disable hook and a _pageflip_insert_fields function, I just followed his road. If I have enough time, I will make a patch but do not really count on me for this one.
Comment #12
jalane81 commentedSame issue in Drupal 7. Unable to uninstall the 3 content types mentioned above. Going to try the DB Update Query to see if that takes care of it.
DB Update did not take care of the problem. I still have these 3 rogue content types that I can't delete.
Any ideas on how to get rid of them?
Comment #13
wooody commentedyes , Same problem in D7.
Comment #14
adamdicarlo commentedCommitted to 6.x-1.x: http://drupalcode.org/project/pageflip.git/commit/cc2ae1a
Comment #15
adamdicarlo commentedNow also fixed in 7.x-1.x: http://drupalcode.org/project/pageflip.git/commit/3270be1