[fw-general] Small Change to Zend_Date

2009-06-12 Thread Arthur M. Kang
Is it possible to get a small change included into Zend_Date? The RSS regexp is requiring two digits for the day but many RSS feeds are spitting out 1 digit. Line #2324 of Zend_Date: $result = preg_match('/^\w{3},\s(\d{2})\s(\w{3})\s(\d{2,4})\s(\d{1,2}):(\d{2}):(\d{2})\s.{1,21}$/', $date, $m

Re: [fw-general] Zend_feed + Twitter Search Atom

2009-06-12 Thread Bradley Holt
Try: $entry->link('alternate'); That works for me when using the Twitter feed. Thanks, Bradley 2009/6/12 José de Menezes Soares Neto > > Hello, > > I tried to fetch > > http://search.twitter.com/search.atom?q=&lang=all&rpp=100&show_user=true > > But I can´t get the content of tag inside the

Re: [fw-general] Quickstart - Apache - Request exceeds limit

2009-06-12 Thread Vince42
Hi, don't answer my post - I found some errors - and got some others instead - now I will have to scrutinize those first ... thanks. -- Cheers,\\|// Vince (o o) ooO-(_)-Ooo- ''' (o)_(o)

[fw-general] Quickstart - Apache - Request exceeds limit

2009-06-12 Thread Vince42
Hi, I used zf create project beta to create the project folders as described in the Quickstart to ZF 1.8. The directories are built properly. I run the local test servers via virtual directives and this one is pointing to the beta directory as its document root. When I point my browser to my

[fw-general] Zend_feed + Twitter Search Atom

2009-06-12 Thread José de Menezes Soares Neto
Hello, I tried to fetch http://search.twitter.com/search.atom?q=&lang=all&rpp=100&show_user=true But I can´t get the content of tag inside the tags. Anyone knows how to get it? The full code is: $feed = Zend_Feed::import(' http://search.twitter.com/search.atom?q=&lang=all&rpp=100&show_user=

[fw-general] View Helper paths

2009-06-12 Thread spaceage
Hi, I'm trying to get a custom view helper to work... In my views/helpers dir, I have a helper, CartVitals.php. It defines a class My_CartVitals and has a single public function, cartVitals(). In my bootstrap, I have the following _init: protected function _initViewHelperPath()

Re: [fw-general] Zend_Form_Element_File?

2009-06-12 Thread till
On Fri, Jun 12, 2009 at 11:34 PM, Jonathon Wallen wrote: > > On 13/06/2009, at 3:12 AM, gerardroche wrote: > >> Now if you add a file to upload (i.e. in the above example you attach a >> photo to the form for upload) and the name element (i.e. the text element) >> *fails* validation the file is sti

Re: [fw-general] Zend_Form_Element_File?

2009-06-12 Thread Jonathon Wallen
On 13/06/2009, at 3:12 AM, gerardroche wrote: Now if you add a file to upload (i.e. in the above example you attach a photo to the form for upload) and the name element (i.e. the text element) *fails* validation the file is still uploaded to the "images/photos" folder. Sounds like you might

Re: [fw-general] Zend_Form_Element_File?

2009-06-12 Thread gerardroche
So, what your saying is that this is expected behavior? thomasW wrote: > > Still you have only one form. Even if there are 2 or 10 elements in that > form... it's only one form. > As I said before the whole form is transferred from your browser to the > server. > When you don't do the validati

Re: [fw-general] Zend_Form_Element_File?

2009-06-12 Thread Thomas Weidner
Still you have only one form. Even if there are 2 or 10 elements in that form... it's only one form. As I said before the whole form is transferred from your browser to the server. When you don't do the validation at the client-side (by using Dojo for example) there is no way to see which part o

Re: [fw-general] Zend_Form_Element_File?

2009-06-12 Thread gerardroche
>What do do you mean with "name fales validation" ? >The file element is a part of the form which is transferred. > >This means that your browser submits all data (including the file) and then >this data is validated. > >Greetings >Thomas Weidner, I18N Team Leader, Zend Framework >http://www.thom

Re: [fw-general] Quick Guide How to use different Layouts for each module

2009-06-12 Thread Elia C.
what is $request object ? did you mean $abstract? yidarmy2009 wrote: > > class My_Controller_Plugin_Layout extends Zend_Controller_Plugin_Abstract > { >public function > dispatchLoopStartup(Zend_Controller_Request_Abstract $abstract) >{ >$layout = Zend_Layout::ge

Re: [fw-general] jQuery DatePicker with Zend_Form

2009-06-12 Thread Simeon Goranov
В 14:02 +0200 на 10.06.2009 (ср), Bart McLeod написа: > The proposed solution is the non-integrated way to use JQuery with any > form (not Zend_Form in particular). > > You should look at the ZendX library and the integrated JQuery > solution. This will give you a ZendX_JQuery_Form and a > ZendX_

Re: [fw-general] World, Country, town city database

2009-06-12 Thread sinkingfish
I had a look at geonames and I'm very impressed. What I'm hopefully going to do (pending approval) is build a jquery form element to use the geonames json web service. proof of concept : http://pastie.org/509530 Thanks again for the stear. Colin Guthrie-6 wrote: > > 'Twas brillig, and Mark Wr

Re: [fw-general] Zend_Form_Element_File?

2009-06-12 Thread Thomas Weidner
What do do you mean with "name fales validation" ? The file element is a part of the form which is transferred. This means that your browser submits all data (including the file) and then this data is validated. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidne