Hello all.
I have a case where I use the group parameter, but I'm doing something
wrong.
I have 5 fields where in the first 4 the user provides int
values and in the 5'th it enters a string. The user is not required to
provide values for this fields but if a value is provided for any of
the
firs
Can someone send a sample validation yml file?
I installed the sfFormValidationPlugin and errors are reported.
My validation configuration has the structure:
validators:
validator1:
.
fields:
.
as it is described at
http://www.symfony-project.com/book/trunk/10-Forms#Validation%
I had a similar problem.
The solution in my case was to set this in the generator.yml
fields:
isactive: {name: Is Active, type: checkbox_tag}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
Hello.
I have a problem defining the rules for the case described below.
There are 5 fields (let them be A,B,C,D,E).
The requirements are
1: if A has a value, B must have a value and vice versa.
2: If C has a value, D must have a value and vice versa.
3: If A or B or C or D have a value then E mu
Primary keys should not be updated.
Perhaps you should change the DB schema.
I would add an autoincrement PK and set the username unique.
The advantage of having an int as PK is that if other tables refer
to the user they need to store an int instead of a varchar. Also
search
and joins should be
Hello.
The sfPokaYokePlugin will generate a javascript error when a form
element has a parent.
In my case, there is a field who's name is catch_code and it's parent
catchinf.
The id of the element will be catchinf_catch_code and name
catchinf[catch_code].
In the initialize method of Prototype.Po
I tried the plug-in and although it does not report any error
messages, it does not create any files
either.
The command was:
symfony i18n-extract --auto-save usrmngr en
>> i18n extracting i18n strings for the "usrmngr" application
>> i18n found "823" new i18n strings
>> i18n foun
I want to create an identical page with the form of a module, except
that the controls
(buttons, checkboxes etc) should be replaced by a label displaying the
value of the control.
I think of two ways how to accomplish this and I hope for an advice
from you.
The first way is to create a filter pl
In the generator.yml, in the filter options write:
filters: [_my_filter]
In the templates dir, create a file _my_filter.php and return the html
for the filter.
An example from one case of mine is:
generator.yml
list:
fields:
filters: [_wfd_site, ...]
in the templates/_wfd_site.php
ge
his->getResponse()->setContentType('application/vnd.ms-excel');
Also, the action returns sfView::NONE.
The problem is that a warning is issued saying:
Warning: Cannot modify header information - headers already sent by
(output started at /home/anakreon/ekby_site/lib/PHPExcel/Share
On Sep 5, 2:59 pm, "Tristan Rivoallan" <[EMAIL PROTECTED]>
wrote:
> On 9/5/07, anakreon <[EMAIL PROTECTED]> wrote:
>
> > (output started at /home/anakreon/ekby_site/lib/PHPExcel/Shared/OLE/
> > OLE_Root.php:254)
>
> what do you see at this line in
In an admin generated module, I want to use an other theme then the
default.
A new theme (which is a copy of the default) is at
/usr/share/php/data/symfony/generator/sfPropelAdmin/myTheme
myTheme differes only in the file _edit_header.php, which is empty for
the default theme.
I invoked the sym
This is the generator config
generator:
class: sfPropelAdminGenerator
param:
model_class: Catchinf
theme:site
fields:
catch_name: {name: Catchment Name}
list:
title:Available catchment areas
On Nov 28, 7:24 pm, "Simon Roby" <[EMAIL PROTECTED]> wrote:
> Why is theme set to "site" and not "myTheme"?
That is the name of the theme.
I sad myTheme on order to make clear that it was my own theme and
not one provided by symphony
--~--~-~--~~~---~--~~
You rece
Even if i define a theme which does not exist, the pages are rendered
without complains
or errors.
It seems that the theme parameter is ignored.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
I am trying to redirect the user from a page to an other where the
entries shown
at the second page should be filtered. Both pages are admin-generated.
What I tried is:
$this->redirect('inventory/list?filters[data_provider_id]='
. $this->getRequestParameter('data_provider_
16 matches
Mail list logo