Posted by agentrickard on October 12, 2009 at 6:16pm
| Project: | Joomla to Drupal |
| Version: | 6.x-1.0-alpha3 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I am about to do a fair amount of importing (35+ Joomla sites to one Drupal site). And I want to run some import tests. When done, I would (naturally) delete the nodes/users/terms created and then start over.
A generic question comes out of this:
Should we be updating the three {joomla} tables on node/user/term delete? This is an easy patch.
If so, how would we now to clear records from {joomla_section)?
Comments
#1
I see. section ~= vocabulary.
#2
Patch for hook_nodeapi().
#3
I think this one needs a little more work. If you enable cron imports, then delete a node it will be re-imported on the next cron run.
Probably just need another checkbox on the admin settings page to enable or disable the delete hook with an appropriate explanation of the behaviour.
#4
After deleting everything after your tests, you can easily disable - uninstall - reinstall joomla module and you are good to go.