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.

CommentFileSizeAuthor
nat-multiple-database.patch8.05 KBGidgidonihah

Comments

Zen’s picture

Status: Needs review » Closed (won't fix)

You'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