visibility:find = hidden in fields.ini

A place for users and developers of the Xataface to discuss and receive support.

Postby KenKirchner » Thu Jun 21, 2007 12:29 pm

I couldn't find anywhere that this or something equal was implemented, so I went about adding it for my app.

In dataface/Dataface/SearchForm.php around line 131 -

if ( $this->_table->isPassword($name) ) continue;
//kk Add visibility:find attribute (to hide field)
if ( $field['visibility']['find'] == 'hidden' ) continue;
// add the field to the form

Apologies if this is already in there and I missed it.
KenKirchner
 
Posts: 4
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sat Jun 23, 2007 10:22 am

Thanks for posting this Ken. I'll incorporate this into the next release.
-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 5 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved