symfony-1.4
form submitting in ajax and symfony validations
i got problem that when i submit form in jquery/ajax i get the data and check isvalid or not and save it. but wen the form is not valid it does not do symfony validations it automatically redirect to[详细]
2023-04-04 11:01 分类:问答Making 2 admin modules for the same model in symfony 1.4
I want to ask how to make 2 admin modules fo开发者_开发百科r the same model I have a model called client. and I made an admin module for it with the name of client[详细]
2023-04-04 09:28 分类:问答set two different labels for two different pages that use the same form - symfony
I have a form and I need to set labels for two different kind of pages. I tried to used $this->widgetSchema->setLabels... with an if and with $sf_params->get(\'module\') and $sf_params->ge[详细]
2023-04-04 09:17 分类:问答sfDoctrineGuardPlugin - increase session time
I am developing a site using sfDoctrineGuardPlugin and I was wondering if there is a way to increase the time that someone is l开发者_JAVA技巧ogged in before they are signed out?[详细]
2023-04-04 09:05 分类:问答Symfony backend: specific test on field before insert
am using the symfony\'s admin generator, in the \"new\" interface, i have on开发者_运维百科e specific field that i want to test before insert into database, and if it doesn\'t pass i return the user t[详细]
2023-04-04 06:28 分类:问答i18n in Symfony Forms
Is there any way I can use the format_number_choice function inside of a actions file. In fact I need to use it for a Form error message.[详细]
2023-04-04 03:54 分类:问答symfony caching of mobile view / one url with 2 sf_formats
I activated caching for my app. Works great. I have have a mobile format using layout.m.php Which is set to[详细]
2023-04-03 19:24 分类:问答Don't show column name when validator returns an error
I have the following code: $this->form->s开发者_开发知识库etValidators(array( \'email\'=> new sfValidatorAnd([详细]
2023-04-03 18:04 分类:问答How to load a class in symfony?
I need to load a class in Symfony 1.4 but the simple placing of the file in /apps/frontend/lib seems not to be enough.[详细]
2023-04-03 17:46 分类:问答why am i getting: Call to undefined method sfPHPView::getRequestParameter?
i have this code in listmatchesSuccess.php: $matching_rows = RcProfileTablePeer::getAllBySelection($gender_id1,$gender_id2,$age1,$age2,$province_id);[详细]
2023-04-03 17:03 分类:问答