Arthur...
The manual is you friend:
http://framework.zend.com/manual/en/zend.locale.html#zend.locale.introduction
See "using a default locale".
As you can read the "default" locale is the last line of defense when no way
of detection has worked.
If you want to use a fixed locale you have to se
I'm using Zend_Filter_Input to validate form data. I'm trying to use the
'presence' => 'required', metacommand. My problem is, the error message
generated by this command includes the actual field name that is being
checked. my field name is something 'first_name' but I want to display
'First N
Is there any way to set the default locale where the quality will be
greater than the browser? If I set a default locale, it never gets used
by the locale aware classes as it gets a quality rating of 0.1 and the
browser locales get 1.0.
Arthur
-- Steven Brown <[EMAIL PROTECTED]> wrote
(on Thursday, 06 March 2008, 07:53 AM +1000):
> Matthew is it possible Zend_Session needs an option like Zend_Cache to
> store session files in layered directories so there are not too many
> files in a single directory at once?
Zend_Session does not do s
The workstation is Mac (using MAMP) and the server is CentOS 4. If I didn't
have a bunch of live stuff running on the server, I'd be able to install a
more recent version of PHP on it ... but alas, I can't, and don't have a
testing box handy.
However, you did cause me to go back and read my code,
Is your workstation windows and your server *nix?
If so, that could be the problem. You are probably refereing to that
vaidator in a case insensitive way. Perhaps try loading it with
"NotEmpty" instead of "notempty".
If that doesnt work, perhaps there is some deeper issue.
-ralph
Karl Kat
http://framework.zend.com/manual/en/requirements.html#requirements.versi
on
It looks like 5.2.3 is preferred, but 5.1.4+ should work... Perhaps this
feature is only available for 5.2.3+ users?
--
Eric Marden
Sr. PHP Developer
Bonnier Corporation
www.bonniercorp.com
__
-- Karl Katzke <[EMAIL PROTECTED]> wrote
(on Wednesday, 05 March 2008, 04:35 PM -0600):
> Is PHP 5.1.6 still supported with ZF, or not? If it is, I seem to be having an
> issue with the autoloader.
>
> On my local workstation, which is running 5.2.3, I can autoload classes in the
> Validator folde
Is PHP 5.1.6 still supported with ZF, or not? If it is, I seem to be having
an issue with the autoloader.
On my local workstation, which is running 5.2.3, I can autoload classes in
the Validator folder just fine. When I try with my server running PHP 5.1.6,
I'll get a stack trace akin to this:
20
Looking at the code deeper, that's got to be it. We've been bitten by
the Case Insensitive nature of Windows when using the framework as well.
--
Eric Marden
Sr. PHP Developer
Bonnier Corporation
www.bonniercorp.com
-Original Message-
From: Ralph Schindler [mailto:[EMAIL PROTECTED]
Matthew is it possible Zend_Session needs an option like Zend_Cache to store
session files in layered directories so there are not too many files in a
single directory at once?
-Original Message-
From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 March 2008 11:49 P
Hi Simon,
That was the problem. I've used php for several years and never even heard
of short tags. I would have bet the house that I also tried the long form -
I know that I *meant* to anyway.
Many thanks,
gary
SiCo007 wrote:
>
> Have you made sure that PHP short tags ( enabled in your PH
On 3/5/08, dinok <[EMAIL PROTECTED]> wrote:
>
>
> Have a look at http://www.zfforum.de/showthread.php?t=1453
> It's a german page, but you should be able to copy some source :-D
>
> Best regards
Thanks. Problem with this is that the licensing is unclear and that it
cannot update existing configur
Have you made sure that PHP short tags ( could imply it's simply treating it as
HTML and hiding it. Possibly because of the above config option.
Simon
-
Simon Corless
http://www.ajb007.co.uk/
--
View this message in context:
http://www.nabble.com/neebie-question-tp15855623s16154p15855657.
Have you considered adding this to the elements class? I had not seen this
technique before reading this so I did a quick search and found
http://www.stuffandnonsense.co.uk/archives/trimming_form_fields.html. It
gives an example of using css and js to toggle between displaying optional
fields. Som
Thanks again.
On 3/5/08, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
>
> -- Roberto Bouza <[EMAIL PROTECTED]> wrote
> (on Tuesday, 04 March 2008, 10:41 PM -0500):
>
> > I'm doing this piece of code in Zend_Form:
> >
> > $form->addElement('text', 'first_name');
> > $form->first_name-
Matthew,
I like the aliases approach on the registry.
Thank you.
On 3/5/08, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
>
> -- Roberto Bouza <[EMAIL PROTECTED]> wrote
> (on Tuesday, 04 March 2008, 10:08 PM -0500):
>
> > I've been doing some forms and the way I'm assigning the
> > Zend_Tran
-- SiCo007 <[EMAIL PROTECTED]> wrote
(on Wednesday, 05 March 2008, 06:05 AM -0800):
> Matthew Weier O'Phinney-3 wrote:
> > Well, you have access to the view from the action already. :-)
> >
> > $this-view->headLink()->prependStylesheet('pathto/styles/screen.css');
> >
>
> I realised that and
Matthew Weier O'Phinney-3 wrote:
>
> Well, you have access to the view from the action already. :-)
>
> $this-view->headLink()->prependStylesheet('pathto/styles/screen.css');
>
I realised that and my mistake this morning when I looked on it with widely
opened eyes. But for the plugin that
-- WooKasZ <[EMAIL PROTECTED]> wrote
(on Wednesday, 05 March 2008, 05:35 AM -0800):
>
> Hello ! I have a problem with Zend_Session class.
> Sometimes when I am refreshing page or clicking on a link this fatal error
> occurs:
> Code:
>
> Fatal error: Uncaught exception 'Zend_Session_Exception'
>
-- Roberto Bouza <[EMAIL PROTECTED]> wrote
(on Tuesday, 04 March 2008, 10:41 PM -0500):
> I'm doing this piece of code in Zend_Form:
>
> $form->addElement('text', 'first_name');
> $form->first_name->setLabel('first_name')
> ->setDecorators(array(
>
-- Roberto Bouza <[EMAIL PROTECTED]> wrote
(on Tuesday, 04 March 2008, 10:08 PM -0500):
> I've been doing some forms and the way I'm assigning the
> Zend_Translate object to the Zend_Form object is like this:
>
> $form->setTranslator(Zend_Registry::get('my_translate'))
>
> As you can see I have a
-- SiCo007 <[EMAIL PROTECTED]> wrote
(on Tuesday, 04 March 2008, 03:43 PM -0800):
> Hi, can you tell me if this is the best way to use the placeholder view
> helpers in my actions and plugins.
>
> I have a simple skin manager built on top of Zend_Layout. I.e. the module
> admin file has a skin nam
Hello ! I have a problem with Zend_Session class.
Sometimes when I am refreshing page or clicking on a link this fatal error
occurs:
Code:
Fatal error: Uncaught exception 'Zend_Session_Exception'
with message 'Zend_Session::start() - session_start()
[ function.session-start function.session-sta
Have a look at http://www.zfforum.de/showthread.php?t=1453
It's a german page, but you should be able to copy some source :-D
Best regards
Vincent-20 wrote:
>
> Hi,
>
> For my project, I'd like to be able to update INI files. Since
> Zend_Config_Ini does not have the ability to write to files
25 matches
Mail list logo