You need to add the validation part or the form to your action
if ($form-isValid())
{
process...
}
else
{
$this-getUser()-setFlash('error', 'The item has not been saved
due to some errors.', false);
}
(look into some autogenerated processForm action)
On 13 ún, 20:24, Rodrigo Prado
Hi Michal,
You actually may be right, this problem might be related to the browser or
session information. For some reason we haven't be able to reproduce this
problem since this morning and we are doing exactly the same thing as before
(login, logout and login again).
Cheers,
Jean-christophe
You might want to try this
1. Login
2. Logout
3. Open login page
4. Leave the browser alone until the session expired (e.g.: default is
30 minutes I think, so leave it for an hour to be sure)
5. Try to login
I think this is a problem with CSRF and session. I actually disable
CSRF protection on
Beste,
Tot en met 18 februari ben ik niet aanwezig op kantoor.
U kunt contact opnemen met Wout Withagen: w...@freshheads.com of 013 5448761.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c | 5017 KC Tilburg
Hi, the regstration link seems ok.
(I gave you the wrong one yesterday, sorry)
The routing role sf_guard_register you added doesn't seem to be
right. The plugin should register its own routing roles by itself.
Hi,
im trying to give a default value to a field of a filter.
I have no problems giving a default value to a form this way:
$m = new Birthday();
$m-setName('Peter');
$this-filter = new BirthdayForm($m);
But when i try this:
$m = new Birthday();
$m-setName('Peter');
$this-filter = new
hello,
using symfony 1.4 with doctrine:
how can I add an order by xy to the default doctrine getter
example:
Event:
columns:
id:
type: integer(4)
primary: true
title:
type: varchar(255)
Visitor:
class: Visitor
refClass: Event2Visitor
local: id
Hi
I have a table with unique index of 3 columns. So I use this:
$this-validatorSchema-setPostValidator(
new sfValidatorPropelUnique(array('model' = 'ProduktPartner',
'column' = array('partner', 'product', 'language')))
);
It works well.
But I would like to make some changes in
Has anyone else done this?
What's the best way to collect extra information about a facebook
user, the first time they sign in with facebook connect?
How do I know it's their first time, and how should I override the
default Signin function to do this?
Thanks,
Zach
On Feb 8, 11:45 am, Zach
I am working on the 'list' view of a module.
The filtered list is displayed via a call to the executeFilter() method, as
usual.
Now, I create a route and the appropriate method myModuleActions :
public function executeUseMyFilter(sfWebRequest $request) {
$id =
On 02/15/2010 04:49 PM, NOOVEO - Christophe Brun wrote:
I am working on the 'list' view of a module.
The filtered list is displayed via a call to the executeFilter()
method, as usual.
Now, I create a route and the appropriate method myModuleActions :
public function
Hi every:
I have this code in BaseTAfiliadoForm.class.php:
'id_especialidad' = new sfWidgetFormDoctrineChoice(array('model' =
$this-getRelatedModelName('TEspecialidad'), 'add_empty' = true)),
This generate the following HTML code:
select name=t_afiliado[id_especialidad]
Hello,
To my mind, you should use this method:
{{{
$this-filter-setDefault('name', 'Peter');
}}}
It's more correct, because semantically, you want set a default value
to your form, not to your model object!
But if you want to set use the contructor of the sfFormFilter
BaseForm
When I run this and go to look at my backend it still displays, even
though I have check_lock: true under my settings. Is this an error? Do
I have to manually create an unavailable page?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to
Did you clear your cache after enabling check_lock?
On Mon, Feb 15, 2010 at 20:10, Darren884 darren...@gmail.com wrote:
When I run this and go to look at my backend it still displays, even
though I have check_lock: true under my settings. Is this an error? Do
I have to manually create an
Still doesn't work. Does display any page but says the command was
executed successfully.
On Feb 15, 11:22 am, Gábor Fási maerl...@gmail.com wrote:
Did you clear your cache after enabling check_lock?
On Mon, Feb 15, 2010 at 20:10, Darren884 darren...@gmail.com wrote:
When I run this and go
Would it matter if I had PHP accelerator running? I am following all
the directions correctly.
On Feb 15, 1:03 pm, Darren884 darren...@gmail.com wrote:
Still doesn't work. Does display any page but says the command was
executed successfully.
On Feb 15, 11:22 am, Gábor Fási maerl...@gmail.com
Is it possible to rename a Symfony project? If so is it easy?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
I think you can just rename the folder, but the safest thing to do is
to do text search of any occurrence of your project name in all files
in the project.
On Tue, Feb 16, 2010 at 10:21 AM, Darren884 darren...@gmail.com wrote:
Is it possible to rename a Symfony project? If so is it easy?
--
19 matches
Mail list logo