Hi Russ,
Sorry for the late reply and thanks for your response.
We've been giving this some thought and are not going ahead with it. The
thing we want to achieve is a shared model layer, but the requirements for
the backend and frontend apps are quite different, so there isn't much logic
Hi, read a manual with MEMBER OF function, I think in your case it should
fit
On Thu, Jun 16, 2011 at 6:04 AM, oscar balladares liebegr...@gmail.comwrote:
Hi everybody!
This might go in the Doctrine's mailing list, but knowing you all S2 people
are working with Doctrine 2, I'm feeling
lucky
It's a little bit offtopic, but anyhow:
I don't get cascade={persist} working. it has no effect at all. i
use the annotation on the owning side of the m:n relation.
Any ideas?
BR Stephan
On Jun 13, 12:18 pm, Ruben de Vries rubensay...@gmail.com wrote:
I've created a small demobundle with the
Hi,
I have a question about how do i get options to the form, the right way?
I can just parse the options to the constructor of my form class, and
extend the options array in the constructor in the form class.. but i
dont know if that can have any downsides?
Hope someone can help me?
Best
now I changed my code to this, it works now.
$form = $this-get('form.factory')-createBuilder('form',$account)
-add('username', 'text')
-add(password,password)
-getForm();
Regards,
Haulyn Jason
Founder, http://domix.in
Rm. 807, Qilu Software
I tried this syntax as well but I cannot make it work. Maybe I made
something wrong?
my app/config/config.yml.
35: doctrine:
36: dbal:
43: types:
44: enum: Acme\TestBundle\Types\EnumType
my src/Acme/TestBundle/Types/EnumType.php
http://pastebin.com/06buTkYE
When I
Le 16/06/2011 10:10, winzou a écrit :
Ok I've define my own service. It works well, as expected. But can you
have a look:
https://github.com/winzou/AssoManager/commit/b45729baaa7873cb740ab07a8813483b257cac92
It's a lot of code just to override my findUserByUsername($username)
method. It
Hm, the format value is only available for the date widget. So this can not
be used either.
--
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
I extend the UserManager (which implements UserProviderInterface) because I
don't want to write a new one from scratch, as it perfectly fits my needs.
I may have been not so clear: my point is to use the UserManager of FOS, but
with just a little modification of the findUserByUsername() method.
You're right I was. And UserProviderInterface is easier than I thought, I
will implement it myself. Thanks!
--
Sent with my HTC.
On Jun 16, 2011 6:06 PM, Christophe COEVOET s...@notk.org wrote:
--
If you want to report a vulnerability issue on symfony, please send it to
security at
I also would like to know XD
--
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
Before going further into hip hop, you might want to have a look to reverse
proxy cache solution, like varnish. This will help a lot and it is very easy
to setup
With a simple varnish configuration you can serve up to 5000req/s.
On Thu, Jun 16, 2011 at 2:12 PM, Anderson Dadario
It's expecting something like this:
$builder-add('next_contact_date', 'date', array('input' =
'datetime', 'widget' = 'single_text', 'format' =
\IntlDateFormatter::SHORT));
Note this: \IntlDateFormatter::SHORT
This is a PHP thing. The docs:
Hi Mike,
can you show what you are trying to do with some code?
I am eager to see, thanks
Luis
On Thu, Jun 16, 2011 at 4:00 AM, Michael Holm ho...@hollo.dk wrote:
Hi,
I have a question about how do i get options to the form, the right way?
I can just parse the options to the constructor of
Someone asked a similar question during the sfLive.
Fabien answer that symfony will not support HipHop as it does not speed-up
a lot the website.
I may disagree with that but as Thomas said, you can start with Varnish and
you'll gain a lot of speed before thinking of HipHop
--
If you want to
Other things you can do is optimizing autoloading of your classes and set
apc.stat=0 in your config (supposing you're using APC). That should give you
some decent speedup, and does not add all the troubles that HipHop could
cause... I really suggest you to stay away from it and to try ANYTHING
Hi all,
I wanted to ask you guys if you've found a definitive way to handle mime
type detection issues. I recently implemented file upload handling in my app
with Symfony 2 and I'm having problems detecting, for example, .docx files.
When I upload a .docx, it detects a mime type of
Including a stylesheet from a bundle that references an image that is also in
the bundle is not supported at this time. The image in the bundle will not be
moved to the web directory and will therefore not be available to the
stylesheet there.
I recommend you move your stylesheets and images
I've seen different ways of naming services.
Fos_user:
fos_user.registration.form.builder
fos_user.mailer.default
Sonata:
sonata.admin.form.type.admin
sonata.admin.pool
sonata.admin.route_loader
In general they all reasonably seem to start with the namespace, then some
kind of section within
I recently posted an issue that may be related to this.
When your using any of the doctrine tools that use the schema tool any
custom types will fail.
There isn't a call to registerDoctrineTypeMapping. So the type gets
registered with the orm but not with the dbal.
I changed the
Le 16/06/2011 18:08, keymaster a écrit :
I've seen different ways of naming services.
Fos_user:
fos_user.registration.form.builder
fos_user.mailer.default
Sonata:
sonata.admin.form.type.admin
sonata.admin.pool
sonata.admin.route_loader
In general they all reasonably seem to start with the
Hello,
I was wondering how I would accomplish this.
I want to create a single FormType for the entity User with has an
association mapping Address (OneToOne).
How exactly do I create the form fields for the information in the
associated Address Entity?
Example entities:
Are you talking about the ACL system? It supports class and object
permissions.
http://symfony.com/doc/current/cookbook/security/acl.html
--
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
Hi I'm wondering about the feasibility of dropping the username and
using the email address as the username instead in FOSUserBundle. Is
this supported by the bundle? Has anyone done this themselves?
Thanks,
Ned
--
If you want to report a vulnerability issue on symfony, please send it to
Thanks, I'll try to digg into it.
2011/6/16 Gediminas Morkevicius gediminas.morkevic...@gmail.com
Hi, read a manual with MEMBER OF function, I think in your case it should
fit
On Thu, Jun 16, 2011 at 6:04 AM, oscar balladares liebegr...@gmail.comwrote:
Hi everybody!
This might go in the
I am having trouble setting up a firewall. I am using beta4 so far.
Here is my security.yml:
[code]
security:
providers:
user_db:
entity: { class: mytest\TestBundle\Entity\Account,
property: email }
encoders:
mytest\TestBundle\Entity\Account: plaintext
I recently started using the excellent ComwaysFormExtraBundle and discovered
today after coming back from a short vacation that it's apparently been
deleted from Github. Does anyone know if there are plans to add some of the
form extensions found in this bundle to another bundle or if
Oops. It looks like it's just moved and will probably be getting renamed...
https://github.com/simplethings/FormExtraBundle
Ok, done panicking now. ;)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
28 matches
Mail list logo