[fw-general] Re: Zend_Form: hidden element

2010-04-20 Thread monk.e.boy
Thank you. I fail to understand why this isn't set by default. I read and understood the bug issues, but I still think some sort of solution that helps 99.99% of people must be pretty easy (hint: we don't nest forms) ;) Thanks again, monk.e.boy -- View this message in context:

Re: [fw-general] Testing isValid on zend form with a file element

2010-04-20 Thread David Mintz
On Sun, Apr 18, 2010 at 9:17 AM, dmitrybelyakov shiftplatf...@gmail.comwrote: Hi, I have a quick question on the best approach to testing Zend_Form classes that have Zend_Form_Element_File in them. I have constructed a small test that shows what i am trying to do. In this test the file

[fw-general] Re: Testing isValid on zend form with a file element

2010-04-20 Thread dmitrybelyakov
David Mintz wrote: Have you dumped $form-getMessages() to see what's failing? Sure. I did getErrors() wich i guess is the same... and it's empty. Dmitry. -- View this message in context: http://n4.nabble.com/Testing-isValid-on-zend-form-with-a-file-element-tp2014862p2017436.html Sent

[fw-general] Zend_Db quoting issue

2010-04-20 Thread Thomas D.
Hi, I experienced a quoting issue within Zend_Db_Table when specifying the given value type: // Code: $db = Zend_Db::factory('Pdo_Mysql', array( 'host' = '...', 'username' = '...', 'password' = '...', 'dbname' = '...' )); Zend_Db_Table::setDefaultAdapter($db); unset($db); $table =

[fw-general] Zend Framework and Facebook Connect

2010-04-20 Thread pwansch
Hi, I added Facebook Connect to my site and it works well. This is what I do to detect that a user is logged in and it works fine: require_once 'library/ext/facebook-platform/php/facebook.php'; // Find out Facebook Connect status $facebook = new

Re: [fw-general] Zend Framework and Facebook Connect

2010-04-20 Thread Саша Стаменковић
By the way, when we are talking about face. Is it possible to post sth to fb fanpage via API, like we do with twitter? Regards, Saša Stamenković On Tue, Apr 20, 2010 at 6:57 PM, pwansch peterwan...@gmx.net wrote: Hi, I added Facebook Connect to my site and it works well. This is what I do

[fw-general] Re: Zend Framework and Facebook Connect

2010-04-20 Thread pwansch
Yes. I recommend downloading the official Facebook PHP Client Library package (facebook-platform.tar.gz from http://wiki.developers.facebook.com/index.php/PHP) . The xd_receiver.htm file that you will also need you can downloaded from

Re: [fw-general] Re: Zend Framework and Facebook Connect

2010-04-20 Thread Саша Стаменковић
Yes, I've done that, but can't find which method give you ability to post messages to your fanpage. Regards, Saša Stamenković On Tue, Apr 20, 2010 at 10:10 PM, pwansch peterwan...@gmx.net wrote: Yes. I recommend downloading the official Facebook PHP Client Library package

[fw-general] Zend_Form_Element_File question

2010-04-20 Thread monk.e.boy
Hi, I am using Zend_Form_Element_File like this: $image = new Zend_Form_Element_File('image'); $image-setLabel('Picture ') -setDescription('Browse your PC for an image') -addValidator('Count', false, 1) -addValidator('Extension', false, 'jpg,png,gif'); When I submit