Re: [fw-general] Zend_Form validation messages

2008-04-06 Thread Rob Allen
On 6 Apr 2008, at 15:54, dowker wrote: Thanks Rob. As in my example above, wouldn't you see the same error message '[EMAIL PROTECTED] is not a valid email address' 4 times? Hi dowker, Looking again, at the extended class we use, I see that I also extended isValid so that there's only e

Re: [fw-general] cookies

2008-04-06 Thread darren
Thanks. I finally got it. I think I wasn't setting enough parameters in setcookie(). So, I had trouble accessing it. It seems to be working properly now. Thanks again. On Sun, Apr 6, 2008 at 1:07 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- darren <[EMAIL PROTECTED]> wrote >

[fw-general] label tag class problem (zend_form)

2008-04-06 Thread voogzy
Hey I'm new here I have a problem with a 'class' for label in my forms. When i set a label to an element, instead of the label having class='IStxt', like i set it to be it has class='ISdan IStxt required'. 'ISdan' is the class set for the element for which the label is for and 'required' i s

[fw-general] Zend_View_Helper_Action problem

2008-04-06 Thread santervo
Hello. I have encountered a problem where i get output from action helper twice. Like this: index.phtml: action('someaction') ?> someaction.phtml Welcome! action('otheraction') ?> otheraction.phtml Content" ?> Now, the result i get is: Content Welcome Content So the content e

Re: [fw-general] How to store multiple tags to document?

2008-04-06 Thread Jan Pieper
Grrr already found a solution. I have to implode list of tags and put them into the field "tag". Then I can search for it with "tag:php" like all other stored fields. -- Jan Hi guys, how can I store multiple tags to a Lucene document? title: zend framework version 1.5 tags: zend, framework

[fw-general] How to store multiple tags to document?

2008-04-06 Thread Jan Pieper
Hi guys, how can I store multiple tags to a Lucene document? title: zend framework version 1.5 tags: zend, framework, update, release, php title: new php version released tags: update, php, release Now I want to search for something like "tag:php" to get both articles. But how to store mult

Re: [fw-general] Zend_Form validation messages

2008-04-06 Thread dowker
Rob Allen-3 wrote: > > > In addition to Matthew's solution, I was much lazier and simply > extended Zend_Validate_EmailAddress and overrode the error text: > > class App_Validate_EmailAddress extends Zend_Validate_EmailAddress > { > protected $_messageTemplates = array( > self

Re: [fw-general] Question about pagination

2008-04-06 Thread Sudheer
Csányi András wrote: On Sun, Apr 06, 2008 at 11:41:18AM +0200, Csányi András wrote: On Sun, Mar 30, 2008 at 10:28:37PM -0700, thurting wrote: I've set up my model to handle pagination and had a question about how I should handle bad input. Suppose my url is constructed as controller/ac

Re: [fw-general] Question about pagination

2008-04-06 Thread Csányi András
On Sun, Apr 06, 2008 at 11:41:18AM +0200, Csányi András wrote: > On Sun, Mar 30, 2008 at 10:28:37PM -0700, thurting wrote: > > > > I've set up my model to handle pagination and had a question about how I > > should handle bad input. Suppose my url is constructed as > > controller/action/key/value

Re: [fw-general] Question about pagination

2008-04-06 Thread Csányi András
On Sun, Mar 30, 2008 at 10:28:37PM -0700, thurting wrote: > > I've set up my model to handle pagination and had a question about how I > should handle bad input. Suppose my url is constructed as > controller/action/key/value and I am passing the user param 'page' to my ^

Re: [fw-general] Admin Area

2008-04-06 Thread Joó Ádám
I don't like the idea of a separated admin area, so there's no backend at all; all of my sites use the frontend for administration purpuses as well, and display/permit features if the user has the needed privileges. Ádám