Hello all!
I am collecting some demografic data with checkboxes right now:
0-4 years, 5-9 years, 10-14 years, etc.
The user checks which age ranges matches the demographic data.
Here is the schema:
bdn_location: - table with the locations
bdn_age:
id: ~
age:
not
count that a number is missing so the next contract will have no. 5. Which
has to be changed by our back-office support to 2. There would be another
way not to use the id for contract number; but it's easier and more
intuitive...
Hope I was clear,
Mihai Rusoaie
+40 72 RUSOAIE
www.rusoaie.com
Hello!
When I insert an new object in the database, I want the id to be
assigned automatically (autoincrement).
In the edit form, however, I want to be able to change the id.
I tried to override the BaseForm class widget and validator with:
$this-widgetSchema['id'] = new
();
}
$number = $request-getParameter('num')+1;
$key = 'client_contact'.$number;
$form-addClientContactForm($key);
return $this-
renderPartial('addClientContactForm',array('field' =
$form['client_contacts'][$key], 'num' = $number));
}
Thank you!
Mihai Rusoaie
+40 72
!'), 'user_id');
//...
Regards,
Mihai Rusoaie
+40 72 RUSOAIE
www.rusoaie.com
On Tue, Apr 6, 2010 at 1:11 PM, NOOVEO - Christophe Brun
c.b...@nooveo.frwrote:
Hi. I'm #far# from mastering Symfony but here are my two cents. I would say
that validators are not intented to know anything else than
Hello, all!
Is there any way to access my object (the one before the form post)
from a sfValidatorSchema ?
When I had my validator inside the Form.class.php file, I could access
the object with $this-getObject(), but from the sfValidatorSchema
class I cannot access it like this.
I need to
Hello!
I have 3 models: client, person and client_person:
person:
id: ~
name: { type: varchar(100), required: true, index:
unique }
...
client:
id: ~
name: { type: varchar(255) }
client_person:
Hello, all!
Can you give me a hint on how can I display a name from a foreign
table in the list display view in a generated backend. To be more
precise, here is the schema:
client:
id: ~
name: { type: varchar(255), required: true, index:
unique }
profile from the backend company
module.
Thank you,
Mihai Rusoaie
+40 72 RUSOAIE
mi...@rusoaie.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
]
[--non-verbose-templates] [--with-show] [--singular=...] [--plural=...]
[--route-prefix=...] [--with-propel-route] [--env=...] application
module model
Mihai Rusoaie
e-Business Consultant
Mobile: +40 72 RUSOAIE
Web: http://mihai.rusoaie.com
- Original Message -
From: Gábor Fási maerl
restrict module actions to certain groups of users ? Like the
selling team to be able to edit customer's infromation, and production team to
be able only to view it?
Could someone point me in the documentation where user group access to modules
is explained?
Thank you!
Mihai Rusoaie
e-Business
and profile?
Before I inserted the additional profile fields, I could subscribe the user to
several groups directly from the backend sf_guard_user module. Now I can edit
the username, password and all the additional profile data I added, but I
cannot edit the group membership.
Thank you!
Mihai Rusoaie
Hello!
I am following the tutorial for creating static pages at
http://trac.symfony-project.org/wiki/HowtoServeStaticContent
My question is: how can I generate a module without a model (for the
static module I don't need a model, do I)?
Thank you!
Mihai Rusoaie
e-Business Consultant
Mobile
Hello!
I am following the tutorial for creating static pages at
http://trac.symfony-project.org/wiki/HowtoServeStaticContent
My question is: how can I generate a module without a model (for the static
module I don't need a model, do I)?
Thank you!
Mihai Rusoaie
e-Business Consultant
Mobile
Hello!
How can I generate an admin module, but keep the default template (the
one that appears in the modules generated with generate-admin)
Thank you!
Mihai Rusoaie
e-Business Consultant
Mobile: +40 72 RUSOAIE
Web: http://mihai.rusoaie.com
Hello all!
Can I use sfWidgetFormJQueryDate from sfFormExtraPlugin directly in the
template? And maybe disable clicking on some of the days?
I need a date picker, but restricted on some days. Is that possible with
some plugin/widget, or I have to write one myself?
Thank you,
Mihai Rusoaie
e
Hello!
Can I store a multiple select in a single database field?
I don't need too many fields in the multiple select (about 5).
Is there any way to do this using sfWidgetFormChoice and
sfValidatorChoice in Symfony 1.2?
If yes, what should be the schema field type and what objects to use?
17 matches
Mail list logo