Re: Re: DB_DataObject_FormBuilder: select_display_field
| From: | Justin Patrin | Date: | Fri, 30 Jan 2004 22:15:28 +0000 |
| Subject: | Re: Re: DB_DataObject_FormBuilder: select_display_field | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25355@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
Norbert Mocsnik wrote:Small error. Use follow_links = 1 to turn it on. And make sure you're setting your config var right (check the docs at the top of the file). -- paperCrane <Justin Patrin>Justin Patrin wrote:No problem. .... Well, WTF? I swear I saw it in there before. Oh well, guess I was checking the wrong code. It turns out that my second change was never applied. Sorry about that. Here's the file with the recursive lookup: http://www.reversefold.com/~papercrane/FormBuilder.phps You must set no_follow_links = 0 in the DB_DataObject_FormBuilder section of your main DataObject.ini to turn this on. I'll file a bug report and e-mail the maintainer of the package...I'm sorry Justin but I still cannot find it.. Remember, I'm talking about getSelectOptions(). Anyways, I've found the code which makes it possible to use multiple fields seperated by commas [..] $list[$opts->$pk] .= ', '; [..] but I still don't see any code which does recursive lookup of links in the newest CVS version of DB_DataObject_FormBuilder: http://cvs.php.net/co.php/pear/DB_DataObject_FormBuilder/FormBuilder.php?r=1.21 Could you check it again and paste some lines from that code to the list, so I can search for it. Thanks, NorbertWhoops, looks like I goofed. That feature hasn't been released, but it is in CVS. Try using the newest CVS copy. http://cvs.php.net/cvs.php/pear/DB_DataObject_FormBuilder/FormBuilder.phpI hate to burst your bubble, but I've already done multiple field select options as well as recursive looking up of links. I didn't do formatting, however.I cannot find recursive looking up of links in the code. Could you show me which part of the code does this?