Hi,
im trying to replace the default 'Required' message in this validator:
$this-setValidator('email', new sfValidatorAnd(array(
new sfValidatorEmail(array('required' = true, 'trim' = true)),
new sfValidatorString(array('required' = true, 'max_length' = 80)),
new
2010/8/24 Javier Garcia tirengar...@gmail.com:
Hi,
im trying to replace the default 'Required' message in this validator:
$this-setValidator('email', new sfValidatorAnd(array(
new sfValidatorEmail(array('required' = true, 'trim' = true)),
new sfValidatorString(array('required'
Eh, sorry,
1 array parameters
array('required' = true)
2 array messages
array('required' = 'Pole wymagane.')
'required' = true,
'invalid' = 'An account with that email address already
exists. If you have forgotten your password, click cancel, then
Reset My Password.'),
Is your server correctly configured to send mails ?
On 24 août, 00:51, vero vegoi...@alumni.uv.es wrote:
I have tried configuring my computer to use the fuction mail() .
I have tried use Zend Framework,, exactly like in jobeet.
But nothing works. The code was compiled, but no email was send.
I have installed Symfony 1_2 so I don't have Swift Mailer, and I find
too difficult change my project to 1_4.
Apart from that, I have configed php.ini:
; For Win32 only.
SMTP = smtp.gmail.com
sendmail_from= vegoi...@gmail.com
smtp_server = smtp.gmail.com
smtp_port = 25
auth_username =
Of course, I have changed this line, but I have a problem with cute/
paste.
$mail-addTo($affiliate-getEmail()); -- $mail-
addTo('vegoi...@gmail.com');
Sorry.
-- Forwarded message --
From: vero vegoi...@alumni.uv.es
Date: 24 ago, 09:43
Subject: Send Mails
To: symfony users
I
That means it is not properly configured - no wonder you cannot send emails.
The message says that your smtp server needs encryption, most probably
the same applies for authentication. Check its manual how to set it
up.
On Tue, Aug 24, 2010 at 09:43, vero vegoi...@alumni.uv.es wrote:
And I use a
Try this http://garakkio.altervista.org/datepickerui/
I like it.
On 16 srp, 21:42, Joe666 joe...@gmail.com wrote:
Hello guys,
I installed the sfFormExtraPlugin as per the README file, then I
downloaded jquery 1.4.2 and jquery UI 1.8.4, installed, included in the
project, then I go to one of
Hi,
I did unset the widgets, but that wasn't enough. Francois helped me then on the
propel list. I simply forgot to unset the validator, which caused some weired
behaviour.
Regards,
Christopher.
-Ursprüngliche Nachricht-
Von: symfony-users@googlegroups.com [mailto:symfony-
Hi, I'm using symfony 1.4.6 and I have the following configuration set
in my factories.yml file...
#
all:
mailer:
param:
transport:
class: Swift_SendmailTransport
param:
command: /usr/sbin/sendmail -oi -t
#
...to overcome the 'double dot' issue as
Have I touched openssl.cnf or something like that?
On 24 ago, 09:51, Gábor Fási maerl...@gmail.com wrote:
That means it is not properly configured - no wonder you cannot send emails.
The message says that your smtp server needs encryption, most probably
the same applies for authentication.
Sorry, could you paste the entire validator? I dont understand..
On 08/24/2010 08:47 AM, Michał Piotrowski wrote:
Eh, sorry,
1 array parameters
array('required' = true)
2 array messages
array('required' = 'Pole wymagane.')
'required' = true,
'invalid' = 'An account with that
Any idea??? Please?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To
Hi,
I have a select to change the language of my forms and i have this widget:
$this-setWidget('fecha_nac', new sfWidgetFormI18nDate(array('culture'
= 'es_ES',
'years' =
array_combine($years, $years),
Ahh! Yes, that's exactly what I needed to know - many to many.
Thank you very much, I haven't gotten to that day on Jobeet just yet,
looks like I was jumping the gun!
On Aug 23, 5:53 pm, Daniel Lohse annismcken...@googlemail.com wrote:
You are going to model this as a many-to-many relation
It's impossible. I don't know how send an email at all.
I have tried everything but no email arrive to inbox.
I will have to decided what to do in that part of my project.
Thanks to all for trying to help me.
On 24 ago, 09:51, Gábor Fási maerl...@gmail.com wrote:
That means it is not properly
Use the port 465 instead of the 25 for gmail
On Tue, Aug 24, 2010 at 9:48 AM, vero vegoi...@alumni.uv.es wrote:
It's impossible. I don't know how send an email at all.
I have tried everything but no email arrive to inbox.
I will have to decided what to do in that part of my project.
Thanks
Your problem is still with the encryption, I'm not sure php's mail()
can handle that.
Why can't you upgrade to 1.3? I did that, and it was pretty easy. I
did the 1.2-1.3 switch in about two hours, and now I have the full
power of swift mailer, and I am using it with gmail's smtp.
On Tue, Aug 24,
Hi,
I have found in sfDoctrineApplyPlugin a template called applyAfter.php
that shows a message like You have registered ok It is called from
the apply action this way return 'After'; when the apply form is valid.
What kind of template is that? I never saw that way (return 'After';)
Don't know why but use_javascrpts_form don't work for me
try :
?php use_javascript('/sfDependentSelectPlugin/js/
SelectDependiente.min.js') ?
It's ok ?
On 24 août, 13:38, wueb webmaster@gmail.com wrote:
Any idea??? Please?
--
If you want to report a vulnerability issue on symfony,
Hi,
I have just started symfony 1.1 but I have ran into this complete
blockade. I seem to be stuck on the create an application part on
here:
http://www.symfony-project.org/tutorial/1_1/en/my-first-project
$ php symfony propel:generate-crud –non-verbose-templates –with-show
frontend post
Hi all. I have this class in my schema.yml:
Category:
actAs: { Timestampable: ~ }
columns:
name: { type: string(255), notnull: true }
cliente: { type: string(255), notnull: true, default: prova }
modalita: { type: string(255), notnull: true, default: normale }
id_interview: {
Why exactly are you using Symfony 1.1 considering it's no longer maintained?
2010/8/24 tek123 paktek...@googlemail.com:
Hi,
I have just started symfony 1.1 but I have ran into this complete
blockade. I seem to be stuck on the create an application part on
here:
Hi everyone,
I have something like this for my schema:
WebGenericElement:
actAs:
I18n:
fields: [title]
columns:
title:
type: string(255)
notnull: true
Product:
inheritance:
extends:WebGenericElement
type:
you have to pass it as an required field in an array, given as
second parameter of the validator
new sfvalidatorsomething(array(...),array('invalid'='invalid
message','required'='required message'));
On 24 Ago, 13:05, Javier Garcia tirengar...@gmail.com wrote:
Sorry, could you paste the
Hello,
I have over 10+ years of experience in software development.
I am software developer looking for freelance or Full Time work, my
skill sets:
.NET TECHNOLOGY
.NET(ASP.NET / C# / VB.NET)
SharePoint 2003,
MOSS 2007,
VB,
ASP (VBScript Javascript),
SQL Server,
Access (VBA),
Excel (VBA),
IT WORKS!! IT WORKS!!
REALLY YOU ARE MY HERO.
I believe that change to 1_3 was complex but It has been very easy and
you have saved a lot of functionalities that depends on the emails in
my project.
THANKS.
On 24 ago, 15:04, Gábor Fási maerl...@gmail.com wrote:
Your problem is still with the
Hi there,
Does anyone tried to limit the result of dropdown to only 1? or atleast just
keep the dropdown hidden with selected value?
I already set the id of the following dropdown, and i dont need to show other
choices anymore.
public function executeNew(sfWebRequest $request)
{
Please,
I can't create database through 'mysqladmin create jobeet -uroot -p',
included at the Day 3 - Tutorial Symfony.
MySql returns the following error message: connect to server at
'localhost' failed error: 'Access denied for user 'root'@'localhost'
using passowrd: YES'
what means?
Thanks for a
It means the password you entered is wrong.
On Tue, Aug 24, 2010 at 17:44, Marcio Pozzato mspozz...@gmail.com wrote:
Please,
I can't create database through 'mysqladmin create jobeet -uroot -p',
included at the Day 3 - Tutorial Symfony.
MySql returns the following error message: connect to
Hi all,
I'm really excited about the symfony 2 framework as it is in my eyes a
great step forward to a more advanced web framework that caters for
cleaner and more modular code. Currently I'm reading up on the
EventDispatcher (http://docs.symfony-reloaded.org/guides/event/
overview.html) leaving
Thanks Alex. I have tried all ways to pass the include path. I think
now Symfony does not support partials in folders. This is very dumb
and a big problem for Symfony. It should be supported.
On Aug 21, 5:57 am, Alexandre Salomé alexandre.sal...@gmail.com
wrote:
He is looking for a module
factories configuration is linked to an application configuration object via
sfContext object. Tasks are standalone objects.
However there is a hack : read the getMailer() documentation
from sfCommandApplicationTask class :
* Returns a mailer instance.
*
* Notice that your task should
What this means is that you need to add an (optional) argument (with default
value) to your task, named application.
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Tue, Aug 24, 2010 at 6:16 PM, Thomas Rabaix
Why if I put localhost/Testnewmail give me an internal error and if I
put the localhost/frontend_dev.php it works?
I have put in factories.yml:
prod:
mailer:
param:
delivery_strategy: single_address
delivery_address: vegoi...@gmail.com
dev:
mailer:
param:
I tried this:
$this-setValidator('email', new sfValidatorAnd(array(
new sfValidatorEmail(array('required' = true, 'trim' = true)),
new sfValidatorString(array('required' = true, 'max_length' =
80), array('required' = 'THIS FIELD IS REQUIRED')),
new
check your user name and password. it is found in config/databases.yml
From: Marcio Pozzato mspozz...@gmail.com
To: Symfony Group symfony-users@googlegroups.com
Sent: Tue, August 24, 2010 11:44:24 AM
Subject: [symfony-users] Problems when creating database
Still nothing :(
On 24 Ago, 14:24, chok chok...@gmail.com wrote:
Don't know why but use_javascrpts_form don't work for me
try :
?php use_javascript('/sfDependentSelectPlugin/js/
SelectDependiente.min.js') ?
It's ok ?
On 24 août, 13:38, wueb webmaster@gmail.com wrote:
Any idea???
Maybe because first it's the sfValidatorEmail that throws the required
error?
Although, if you want to change the required field message to every
validator, you could do this:
sfValidatorBase::setDefaultMessage( 'required', 'My required message' );
On Tue, Aug 24, 2010 at 1:53 PM, Javier Garcia
Or course, that line could be on the BaseForm or even in the application
configuration class so every form could use that default message. The same
applies to the 'invalid' message.
On Tue, Aug 24, 2010 at 2:26 PM, Gustavo Adrian comfortablynum...@gmail.com
wrote:
Maybe because first it's the
Thanks Gustavo, I think you mean this:
$this-setValidator('email', new sfValidatorAnd(array(
new sfValidatorEmail(array('required' = true, 'trim' = true),
array('required' = 'THIS FIELD IS REQUIRED')),
new sfValidatorString(array('required' = true, 'max_length' =
80)),
How do I configure Doctrine\ORM\Configuration?
Like, I want to add a new DQL function I made; and to register it I
would normally do this:
$config = new \Doctrine\ORM\Configuration();
$config-addCustomStringFunction('DATEDIFF', 'DoctrineExtensions\Query
\MySql\DateDiff');
But how do I do that
You can support it yourself:
1. Disable standard Partial helper in the settings.yml
2. Copy the partial helper from the symfony lib and adjust to suit
your needs. You will probably want to create a new view class that
inherits from sfParialView
Good luck with it...
James
On Aug 24, 6:06 pm,
Otherwise you could do, in your form class,
#myformForm.class.php
public function configure()
{
if (user_culture == fr)
$this-widgetSchema-getFormFormatter()-
setTranslationCatalogue('form_fr');
else if (user_culture == en)
$this-widgetSchema-getFormFormatter()-
Hi,
We need to allow you to specify these things from the config.yml/config.xml.
Can you create a ticket to improve this?
Thanks, Jon
On Tue, Aug 24, 2010 at 12:58 PM, Aaron DM amai...@gmail.com wrote:
How do I configure Doctrine\ORM\Configuration?
Like, I want to add a new DQL function I
Hi,
It is the same issue as the other of your e-mails. It is not supported right
now, we just need to improve what is allowed to be specified in the
application configuration to create the DI container.
- Jon
On Mon, Aug 23, 2010 at 3:57 PM, Aaron DM amai...@gmail.com wrote:
I am trying to
Yes, you need to remove the entire field from the form, not just the widget.
- Jon
On Tue, Aug 24, 2010 at 1:22 AM, Christopher Schnell
christopher.schn...@mda.ch wrote:
Hi,
I did unset the widgets, but that wasn't enough. Francois helped me then on
the propel list. I simply forgot to
Hmm, are you using the latest versions?
- Jon
On Mon, Aug 23, 2010 at 4:57 PM, Michael excelwebz...@gmail.com wrote:
I'm trying to move from MySQL to MongoDb, and start creating a test
class:
?php
namespace Bundle\TestBundle\Document;
/**
* User
* Represents a particular user.
*
Hi,
I think i am having the same problem, only that i need the i18n in
spanish.
I read that, so I was expecting to work out of the box :
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_sub_forms_forms_i18n
Only the labels of the register form fields are not translated
Hi,
I had the same problem with HTML tags in general.
I found this thread:
http://oldforum.symfony-project.org/index.php/mv/msg/10655/77804/#msg_77804
that helped me.
I modified 'lib/symfony/i18n/sfMessageSource_XLIFF.class.php'
according to what 'jjoaco' wrote
and the text got translated
The filter value is saved to the session - the filter is saved even if
you move to another page and go back. Also the value is showed on the
form ... it's good to know which filter is set.
How do you want to change it? ... only don't show the value on the
form but let the filter value in the
51 matches
Mail list logo