Re: [fw-general] View Helper paths

2009-06-13 Thread dmitrybelyakov
spaceage wrote: > > Thanks, that was the trick...addHelperPath assumes 'View_Helper' appended > to the namespace prefix sent as second parameter. > Glad i was able to help. Good luck. Dmitry. -- View this message in context: http://www.nabble.com/View-Helper-paths-tp24006943p24017279.ht

Re: [fw-general] A Zend_Db Adapter for ext/mysql (mysql_*)

2009-06-13 Thread Tobias Gies
Hi, Matthew, I don't think this should be included in the Zend namespace. Ben, you have done some excellent work on this adapter, I think it's great, but in my opinion, we shouldn't include adapters for "outdated" libraries in the framework. It might fit nicely into ZendX, but I'd rather not have

Re: [fw-general] Escape characters in stored data

2009-06-13 Thread Jason Webster
It looks as if you have magic_quotes_gpc enabled. Either disable it via php.ini or an .htaccess directive. If you can't do that, make a quick google search for something along the lines of stripslashes deep, and apply that to the $_GET and $_POST superglobals as early as possible. On 13/06/2009

Re: [fw-general] View Helper paths

2009-06-13 Thread spaceage
Thanks, that was the trick...addHelperPath assumes 'View_Helper' appended to the namespace prefix sent as second parameter. dmitrybelyakov wrote: > > > > spaceage wrote: >> >> Hi, >> I'm trying to get a custom view helper to work... >> ... >> Why the exception? >> > > Hi, > > I think the

[fw-general] Escape characters in stored data

2009-06-13 Thread Jalil F.
I have a simple form and save some text to the database. I use code like the following in my form: $names = new Zend_Form_Element_Text('names'); $names->setLabel('Names:') ->setRequired(true) ->addFilter('StripTags') ->addFilter('StringTrim') ->add

[fw-general] module.ini

2009-06-13 Thread Vince42
Hi, I am trying to adjust / rewrite the quickstart to such an extent that the guestbook module is as autarchic as possible. This rises a few questions I was not able to clarify: I want to put a module.ini under the module's configs directory. When and how can this be loaded and utilized respecti

Re: [fw-general] A Zend_Db Adapter for ext/mysql (mysql_*)

2009-06-13 Thread Matthew Ratzloff
CLA? Proposal? Inclusion in the framework? :-) -Matt On Saturday, June 13, 2009, Benjamin Eberlei wrote: > Hello everyone, > > I have a project that i slowly want to migrate to Zend Framework. This project > uses ext/mysql all over the place and therefore requires an adapter of this > type to

Re: [fw-general] How to escape forward slash in paginator?

2009-06-13 Thread Matthew Ratzloff
This is an Apache issue (or perhaps "feature", as it is intended behavior). It is possible to disable this, but you should consider simply filtering out the forward slash character from searches or passing the search in the query string. -Matt On Saturday, June 13, 2009, Deepak wrote: > Hi, > >

[fw-general] How to escape forward slash in paginator?

2009-06-13 Thread Deepak
Hi, I just found a bug in my application. Can somebody advise me on how to solve this one? Deatils are as follows: +++ 1. I am using zend_paginator 2. I have a search form which returns the results in paginator. 3. Normally when I search (which doesn't contain forward slash (/

Re: [fw-general] Zend_Toolbar proposal ready for review

2009-06-13 Thread dmitrybelyakov
DASPRiD wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi peeps, > > I've just finished the proposal for Zend_Toolbar, a debug bar for > Firefox. I'd like to collect some feedback before moving on to the next > step: > > http://framework.zend.com/wiki/display/ZFPROP/Zend_Tool

Re: [fw-general] Small Change to Zend_Date

2009-06-13 Thread Ondrej Ivanič
Hi On Sat, Jun 13, 2009 at 8:33 PM, Thomas Weidner wrote: > So your opinion is that when someone wants to have a RSS date, Zend_Date > should create a RFC_2822 date instead of a RSS date ? No, you have to produce valid *output* as I wrote. When someone wants RFC_2822 you have to produce 'Sat, 06

Re: [fw-general] View Helper paths

2009-06-13 Thread dmitrybelyakov
spaceage wrote: > > Hi, > I'm trying to get a custom view helper to work... > ... > Why the exception? > Hi, I think the class name should be My_View_Helper_CartVitals(). And i guess the underscore is not required when adding a path: $view->addHelperPath('/application/views/helpers', 'My

Re: [fw-general] Small Change to Zend_Date

2009-06-13 Thread Thomas Weidner
In this case you should not use RSS but RFC2822 which is not RSS conform but accepted by most RSS readers. Anyhow, Zend_Date::RSS does not mean that this should be used for all RSS feeds, it's meant to accept RSS conform date formats which are strictly standard conform. That's a nice theory but

Re: [fw-general] Small Change to Zend_Date

2009-06-13 Thread Ondrej Ivanič
Hi On Sat, Jun 13, 2009 at 7:12 PM, Thomas Weidner wrote: > In this case you should not use RSS but RFC2822 which is not RSS conform but > accepted by most RSS readers. > Anyhow, Zend_Date::RSS does not mean that this should be used for all RSS > feeds, it's meant to accept RSS conform date format

Re: [fw-general] Zend_Form_Element_File?

2009-06-13 Thread gerardroche
> 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 be m

Re: [fw-general] Small Change to Zend_Date

2009-06-13 Thread Thomas Weidner
When your RSS feed does not conform the RSS specification then it's no standard conform RSS feed :-) In this case you should not use RSS but RFC2822 which is not RSS conform but accepted by most RSS readers. Anyhow, Zend_Date::RSS does not mean that this should be used for all RSS feeds, it's

Re: [fw-general] Zend_Form_Element_File?

2009-06-13 Thread Thomas Weidner
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 be moving the uploaded file to images/photos befor

Re: [fw-general] Zend_Form_Element_File?

2009-06-13 Thread gerardroche
>> >> 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

Re: [fw-general] Zend_Form_Element_File?

2009-06-13 Thread gerardroche
>>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. > >S

[fw-general] A Zend_Db Adapter for ext/mysql (mysql_*)

2009-06-13 Thread Benjamin Eberlei
Hello everyone, I have a project that i slowly want to migrate to Zend Framework. This project uses ext/mysql all over the place and therefore requires an adapter of this type to keep the number of database connections small. I wrote this adapter using soley mysql_* functions, which emulates pr