Re: DataObjectsFormBuilder - tripleLinks

From: Date: Wed, 17 Nov 2004 01:53:35 +0000
Subject: Re: DataObjectsFormBuilder - tripleLinks
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15585@lists.php.net to get a copy of this message
On Tue, 16 Nov 2004 23:51:17 +0100, Alexander Petri <alex.petri@gmx.de> wrote: > okay: > > in the file > > do_user.php > i put this: > > var $fb_crossLinks = array( array('table' => 'user_to_hobby_a', > 'fromField' => 'user_id', 'toField' => > 'hobby_a_id'), > array('table' > => 'user_to_hobby_b', 'fromField' => 'user_id', > 'toField' => 'hobby_b_id') > ); > ////////////////////////////////////////////////////////////////////////////// > in do_user_to_hobby.php i put nothing in > > and in do_hobby_(a/b).php i put in: > > var $fb_linkDisplayFields = array('name_de'); //<- this field should be > displayed behind the checkboxes > > ////////////////////////////////////////////////////////////////////////////// > also i have updated the link.ini file: > > [user_to_hobby_a] > user_id = user:id > hobby_a_id = hobby_a:id > > [user_to_hobby_b] > user_id = user:id > hobby_b_id = hobby_b:id > > anyway nothing happens > even if i dont use 'toField' and 'fromField' > Are you sure that the links file is being read? Try displaying the form for the 'user_to_hobby_a' table. -- Justin Patrin

« previous php.pear.general (#15585) next »