Okay, I've implemented an odd, and probably extremely rare feature that I need for a client's site. They are running a multi-site install with one not being available to the public. This is where a list of client information is stored and edited. The other is public facing. On this site, they need a taxonomy list of all the current clients. I've edited the NAT module to allow this functionality using db_set_active.
This is my first attempt at module coding and probably doesn't adhere to drupal standards and who knows what else. Peer review of this would be a great help. Thanks.
Patch is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| nat-multiple-database.patch | 8.05 KB | Gidgidonihah |
Comments
Comment #1
Zen commentedYou're right in that this is very ... niche and not generic enough to warrant inclusion into the module. Either way, thanks for submitting the patch - someone else somewhere might find it handy sometime or the other :)
Cheers,
-K