From mini at zaphod.homeunix.com Wed Feb 16 10:40:16 2005 From: mini at zaphod.homeunix.com (Mini Chate) Date: Wed Feb 16 10:40:27 2005 Subject: [ulaform] Action Driver Message-ID: <20050216134016.ibkb7qpr408sscoc@zaphod.homeunix.com> I'm writing an action driver to allow using a non-horde sql database. However, I don't seem to be able to override the default to the 'horde' database by putting $params['database'] = array('label' => _("Database"), 'type' => 'text'); in the getParams() method. Am I missing something here? I have linked http://zaphod.homeunix.com/horde/ulaform/lib/Action/otherdbsql.phps to the latest version of the code that I have so far. I think this action might be useful to somepeople who want to use ulaform to update other databases they might be using. Thanks -- Christopher Troup http://zaphod.homeunix.com From vilius at lnk.lt Thu Feb 17 01:55:36 2005 From: vilius at lnk.lt (Vilius =?utf-8?b?xaB1bXNrYXM=?=) Date: Thu Feb 17 01:56:02 2005 Subject: [ulaform] Re: Action Driver In-Reply-To: <20050216134016.ibkb7qpr408sscoc@zaphod.homeunix.com> References: <20050216134016.ibkb7qpr408sscoc@zaphod.homeunix.com> Message-ID: <20050217115536.gx2o71t3m5koc8wo@mail.lnk.lt> Mini Chate ra??: > I'm writing an action driver to allow using a non-horde sql database. > However, I don't seem to be able to override the default to the 'horde' > database by putting $params['database'] = array('label' => > _("Database"), 'type' => 'text'); in the getParams() method. > > Am I missing something here? I have linked > http://zaphod.homeunix.com/horde/ulaform/lib/Action/otherdbsql.phps to > the latest version of the code that I have so far. Link is not working. > I think this action might be useful to somepeople who want to use > ulaform to update other databases they might be using. When I was writing SQL action driver, I thought about this too, but hadn't much time to implement it completely. All you need to do is to modify initialise() method in sql.php and make it work with desired database parameter. -- Best Regards, Vilius