I don't relish the idea of the importer code being imported and parsed on every page load. Please split it into a separate module since most people who use this are not coming from pligg, and nobody needs to run the code more than once. Thanks.
I don't relish the idea of the importer code being imported and parsed on every page load. Please split it into a separate module since most people who use this are not coming from pligg, and nobody needs to run the code more than once. Thanks.
Comments
Comment #1
mercmobily commentedHi,
I totally agree.
Rather than writing another module, I thought about a checkbox which, if clicked, loads the extra code...
Maybe that's silly?
But again, I agree. It's tons of (ugly) code. It's ugly because it has a limited lifespan, and I didn't want to spend too long writing it. It's also DANGEROUS code - it will WIPE your existing Drupal installation effectively... and replace it with the data imported from Pligg.
But, in general, I totally agree. Will do.
Merc.
Comment #2
robertdouglass commentedI think a separate module is the best option, much better than a config option.
Comment #3
mercmobily commentedHi,
OK, will do it that way.
Merc.
Comment #4
mercmobily commentedHi,
OK, done.
Merc.