[fw-general] When will Zend_OpenId support Google OpenId?

2009-01-17 Thread Nguyen Kha
I found that Zend_OpenId dosen't work with Google Identifier https://www.google.com/accounts/o8/id and a hack (modify Consumer class) to work but it's not official T_T -- View this message in context: http://www.nabble.com/When-will-Zend_OpenId-support-Google-OpenId--tp21524288p21524288.html Sen

Re: [fw-general] Writing a validator for limit the number of selectable elements

2009-01-17 Thread fab2008
Chris Weldon wrote: > > How do you have the Multicheckbox element setup? How are you going > about checking that the form is valid? A bit more code samples would > prove useful... > I've done a simple setup, this is, more or less, my setup: Base class (in which I add common decorator and filt

Re: [fw-general] Zend_Validate_EmailAddress, MX lookup not support on Windows?

2009-01-17 Thread Jason Webster
I submitted my CLA as a digitally filled out signed copy of the PDF they provide. That should work, provided you have Acrobat proper. On 17/01/2009 12:51 PM, Isaak Malik wrote: That's because I'm not allowed (scanner-less, fax-less & most of the time printer-less) ;-) Also, the E-mail validati

[fw-general] New proposal for Translateable Exceptions

2009-01-17 Thread Thomas Weidner
Hy all, I am pleased to announce that a "Translateable Exceptions" proposal is ready for review. http://framework.zend.com/wiki/display/ZFPROP/Translateable+Exceptions+for+ZF+-+Thomas+Weidner It is an additional feature into ZF which adds a possibility to translate the message of thrown excep

Re: [fw-general] Writing a validator for limit the number of selectable elements

2009-01-17 Thread Chris Weldon
How do you have the Multicheckbox element setup? How are you going about checking that the form is valid? A bit more code samples would prove useful... -- Chris Weldon On Sat, Jan 17, 2009 at 2:36 PM, fab2008 wrote: > > Nobody who can helps me? > > > fab2008 wrote: >> >> Hi all, >> >> I've the fo

Re: [fw-general] Zend_Validate_EmailAddress, MX lookup not support on Windows?

2009-01-17 Thread Isaak Malik
That's because I'm not allowed (scanner-less, fax-less & most of the time printer-less) ;-) Also, the E-mail validation class could need some improvement because validating against MX records only is a bad practice, instead it should have support for an A record (to check if the hostname actually

Re: [fw-general] Writing a validator for limit the number of selectable elements

2009-01-17 Thread fab2008
Nobody who can helps me? fab2008 wrote: > > Hi all, > > I've the following situation: In a form i put a multicheckbox element with > a certain number of elements say n. I'want the user select a number of > elements between x and y with 0 <= x < y <= n > > For this i've just tried to write my

Re: [fw-general] Zend_Validate_EmailAddress, MX lookup not support on Windows?

2009-01-17 Thread Matthew Ratzloff
It's because you haven't added it yet, of course. ;-) -Matt On Sat, Jan 17, 2009 at 11:29 AM, Isaak Malik wrote: > How come there is no support for MX lookups on a Windows environment? I'm > aware that checkdnsrr() is not supported by Windows but why is there no > alternative included? If it's

Re: [fw-general] Is Cal Evan's Globals.php a recommended approach

2009-01-17 Thread Matthew Ratzloff
Since configuration is such a fundamental aspect of most components, perhaps this can be added to the coding standards, along with whatever suggested implementations the community agrees upon? -Matt On Sat, Jan 17, 2009 at 6:55 AM, Matthew Weier O'Phinney wrote: > -- Matthew Ratzloff wrote > (o

[fw-general] Zend_Validate_EmailAddress, MX lookup not support on Windows?

2009-01-17 Thread Isaak Malik
How come there is no support for MX lookups on a Windows environment? I'm aware that checkdnsrr() is not supported by Windows but why is there no alternative included? If it's because a lack of knowledge there are some good alternatives at http://php.net/checkdnsrr -- Isaak Malik Web Developer

Re: [fw-general] Zend_Form_SubForm based wizard with conditional subForms

2009-01-17 Thread MPoje
I ended up approaching it by defining a public function w/in the My_Custom_Form class that takes a subForm name as its argument. In the My_Custom_Form's init() I only set the first subForm. In the controller, I called those functions conditionally to build the appropriate version of the form bas

Re: [fw-general] Zend_Form_SubForm based wizard with conditional subForms

2009-01-17 Thread joostvanveen
Anybody? I would be interested to know this, too. -- View this message in context: http://www.nabble.com/Zend_Form_SubForm-based-wizard-with-conditional-subForms-tp20994488p21518200.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Is Cal Evan's Globals.php a recommended approach

2009-01-17 Thread Matthew Weier O'Phinney
-- Matthew Ratzloff wrote (on Friday, 16 January 2009, 09:42 AM -0800): > This is more or less how you see the setOptions() implementation in a few > > classes currently. The idea that you proxy the key to a mutator (setter) > > setSomething($value) method. > > > Yep, except it's

Re: [fw-general] Zend_Feed::import link down

2009-01-17 Thread PHPScriptor
Thank you both. I took the Zend_Exception... just to make sure that I catch all the exceptions :-)) Simone Carletti wrote: > > Or you can even decide to catch a Zend_Exception to be sure to rescue any > Zend-related exception raised by Zend_Feed, including Zend_Http and > Zend_Feed errors. > >

Re: [fw-general] Zend_Feed::import link down

2009-01-17 Thread Simone Carletti
Or you can even decide to catch a Zend_Exception to be sure to rescue any Zend-related exception raised by Zend_Feed, including Zend_Http and Zend_Feed errors. -- Simone On Sat, Jan 17, 2009 at 2:39 PM, Chris Weldon wrote: > On Sat, Jan 17, 2009 at 5:06 AM, PHPScriptor > wrote: > > "Fatal err

Re: [fw-general] Zend_Feed::import link down

2009-01-17 Thread Chris Weldon
On Sat, Jan 17, 2009 at 5:06 AM, PHPScriptor wrote: > "Fatal error: Uncaught exception 'Zend_Http_Client_Exception' with message Try catching Zend_Http_Client_Exception in addition to Zend_Feed_Exception like you have below. > > try { > $slashdotRss = Zend_Feed::import('http://www.test.eu/rss.

Re: [fw-general] 301 Redirect

2009-01-17 Thread Simone Carletti
Toggle the order of the rules. The www redirect should be placed before the Zend Framework rewrite rule. In fact, it should appear first before any functional rewrite rule. bits.abhinav wrote: > > But will this work with the Rewrite rules for Zend Framework? > > RewriteEngine on > RewriteCond

[fw-general] Zend_Feed::import link down

2009-01-17 Thread PHPScriptor
Hello, I'm using a feed on my site for news. Now, when the feed site is down my site crashes. Is there a way for not showing this 'fatal error'? And my second question: it only crashes after e.g. 15 seconds, but I want to move on faster. If the rss site is down it has to go further after e.g. 2 s

Re: [fw-general] 301 Redirect

2009-01-17 Thread bits.abhinav
But will this work with the Rewrite rules for Zend Framework? RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* index.php I tried adding this code below the above code but it takes me to www.domain.com/index.php which then messes up with the relative URLs in the code. Simone

Re: [fw-general] 301 Redirect

2009-01-17 Thread bits.abhinav
But will this work with the Rewrite rules for Zend Framework? RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* index.php I tried adding this code below the above code but it takes me to www.domain.com/index.php which then messes up with the relative URLs in the code. Simone

Re: [fw-general] 301 Redirect

2009-01-17 Thread Simone Carletti
There is more than one solution for this problem. Here's one. RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com [NC] RewriteRule ^(.*)$ http://www.domain.com$1 [R=301,L] -- Simone bits.abhinav wrote: > > Hi all, > I want to implement a 301 redirect on my portal so that domain.com > redir

[fw-general] 301 Redirect

2009-01-17 Thread bits.abhinav
Hi all, I want to implement a 301 redirect on my portal so that domain.com redirects to www.domain.com. I don't have much knowledge about the mod_rewrite module of Apace. I found out the code for this online but it doesn't work properly. If anyone has done this before or knows how to do it please