Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Farm database question

edited October 2007 in Vanilla 1.0 Help
Hi Im new to Vanilla but getting my head around it - my PHP skills are intermediate. Quick question: What is a Farm connection? Is it for connecting to a database other that than the default? If so I think its what Im looking for - but how do I implement it in my code? I basically have a second database sitting beside the vanilla db. It houses a list of 6 digit codes. Im building an extention that functions like so: 1. Adds an extra field to the application form (for the 6 digit code) 2. checks the 6 digit code against codes in the database and returns validation error (along side Vanilla's default validation) if not found Any help or pointers appriciated! Cheers L

Comments

  • The Extended Application Form add-on does add fields to the regular Application Form. If you look at that, you should be able to figure out how to make an add-on to add your field.
  • thanks for feedback jimw - I can add a field no problem. What I really want to know is how to use the FarmDatabase function and what it was intended for thanks L
  • Its a way to get replication across multiple databases--something most people won't have to use.

    Add an AddWhere call to every DB access? # 18
This discussion has been closed.