Sorry, lost the n: EmbedMany.
I don't use github. The code is just an short example to demonstrate
my problem.
The defined array_key won't get used by doctrine/symfony2 for mongodb.
Hope the example is clear enough...
On 21 Jun., 18:00, Luis Cordova cordo...@gmail.com wrote:
EmbedMay? not
Yes, am trying to generate:entites - but it has no effect. Interesting
that files entities/Products.php entites/Category.php was modifed with any
generate:entites - but it's has no effect and i can't see any
setter|getter for relation
--
If you want to report a vulnerability issue on symfony,
In beta5 that problem I described is now solved, but there's another
one:
when preUpload() gets called, the field 'file' is not filled in
(reference: http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html)
so I have no way to call 'file-guessExtension()'. Any idea??
-- btw I am
+1 split
2011/6/21 Jeremiah Dodds jeremiah.do...@gmail.com
On Tue, Jun 21, 2011 at 12:02 PM, Luis Cordova cordo...@gmail.com wrote:
splitting is counterproductive, we can always hit delete
I myself hit a ton of deletes even with sf2 and I am for sf2, so i
think people is having too thin
Have you try a postPersist event?
If that is working, and prePersist not, then you can use the postPersist. If
the fileupload returns an exception, then the persist
won't be commited anyway.
Also, on a postPersist event you have access to the Entity's id, which is
very useful for generating an
Can you be more specific ?
Also can you show us your User class (and its relations) ?
--
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
+1
On jún. 22, 07:07, Fabien Potencier fabien.potenc...@symfony-
project.com wrote:
On 6/21/11 5:49 PM, Luis Cordova wrote:
don't fabien you will give more work to everybody
as you said the problem will be only for few more months
then sf1.x will die out and problem solved :)
symfony1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
+1 for splitting into new lists
As SF2 RC1 is about to be released, this is the perfect time to move to
a new list. The answers on that list are more likely to be correct to
anyone searching the archives (prior to the API being stable, an answer
Hi,
I'm currently working with addresses which are frequently reused through my
application. That's why I would like to reuse the piece of forms that can
render the Address related fields, so I decided to embed the AddressType
form in other forms. Now I would like to customize theming for the
Hi all,
I have a problem with the end of the Day 5 on Jobeet.
When I have slugify the url for jobs, all works fine but the homepage
where i should have the list of jobs (who works before this action)
it's now a white page with only Paris, France write on.
I did the tutaurial twice, and I have
here is an excerpt of ./symfony propel:build-forms:
helloises@helloise:~/github_mira/rainbow_code/phoenix$ ./symfony
propel:build-forms --connection=PropelPDO
propelgenerating form classes
tokens
Hi everyone,
I was playing with Doctrine and MongoDB thanks to SF2, and I observed
that a configuration line was missing in your documentation.
doctrine_mongodb:
auto_generate_hydrator_classes: true
Otherwise, lots of things won't work properly...
Regards,
--
If you want to report a
Or at least mention the generate:hydrators :)
On 22 juin, 12:12, Adrien Mogenet adrien.moge...@gmail.com wrote:
Hi everyone,
I was playing with Doctrine and MongoDB thanks to SF2, and I observed
that a configuration line was missing in your documentation.
doctrine_mongodb:
So...
It seems about right. Is sluggable field in the table in database?
On Jun 21, 6:53 pm, lucia aicul...@gmail.com wrote:
Hi, thanks for your time, I have this:
//Basemyprofile1
$timestampable0 = new Doctrine_Template_Timestampable();
$sluggable0 = new
No, it isn't
On 22 jun, 15:13, Grzegorz Śliwiński fi...@fizyk.net.pl wrote:
So...
It seems about right. Is sluggable field in the table in database?
On Jun 21, 6:53 pm, lucia aicul...@gmail.com wrote:
Hi, thanks for your time, I have this:
//Basemyprofile1
$timestampable0 = new
Oscar
Thanks for the example!!
Did you use entity manager in the uploadFile()?
In my case I would need to make some queries inside the preEvent function.
Do you know how?
Marcelo
2011/6/21 oscar balladares liebegr...@gmail.com
Hi Marcelo; yes, of course:
I'm currently using YML config
Hi,
I am looking around for a solution to load seed data into my project.
Until now, I have been using fixtures to load the data, but of course
this gets very dangerous when you have live, non static data on your
production server!
In the rails world, there is Seed Fu
+1 for interest. Not sure if I can contribute much to the development --
still getting my head around bundles, src, vendors and third_party, and how
all this will fit into svn (my code) and git (Symfony SE / Symfony /
Vendors). But I like the idea -- we're porting from CodeIgniter, and right
now
Dear Jake,
I also have some difficulties using PHPExcel in Symfony2. Would you mind
sharing the code you used for the autoload and a quick example of use?
Thanks,
Jerom
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
Hi Jake,
I also have some difficulties to register properly PHPExcel
librairy :/
Would you mind sharing the code you use for the autoload and a quick
example of use?
Thanks,
Jerome
On 20 juin, 15:05, Jake jakewbis...@googlemail.com wrote:
Thanks... i put it in the vendor folder and registered
Hi, perhaps I'm wrong but following the steps from the
http://symfony.com/doc/current/book/page_creation.html and using the PHP
render option leads me to no template at all with just echoed chars.
I used the twig template option using the proper render at
*//
Do you have it on a github repository? It would be great if you do.
Not being able to see your code is a huge backdraw. I'm 99.99% that is a
problem with your code, so
we need to see it to figure out what is happening.
But, you can post all your code from day 4, and day 5 here to take a look at
If you are calling another pages within a href tag, but using JS (i.e ajax
request)
you can get the link's url:
$('#a-link').click(function(e){
var $url = $(this).attr('href');
$(this).preventDefault;
//request content based on the url, with ajax.
});
If it is not a request, you could use a
Never mind, after reading the whole page i noticed that at the end there was
another link to this topic:
*How to use PHP instead of Twig for Templates*
http://symfony.com/doc/current/cookbook/templating/PHP.html
I simply had to change my configuration file and add this
#
I meant : 'if it is not a link-for-ajax-purpose, then you can use hidden
fields'.
2011/6/22 oscar balladares liebegr...@gmail.com
If you are calling another pages within a href tag, but using JS (i.e
ajax request)
you can get the link's url:
$('#a-link').click(function(e){
var $url =
+1. It sounds great! Sadly, I'm very busy at the time, so I can't help right
now :(
2011/6/22 Tac Tacelosky tac...@gmail.com
+1 for interest. Not sure if I can contribute much to the development --
still getting my head around bundles, src, vendors and third_party, and how
all this will fit
I Marcelo. I have not tried to use the EM, but as far as I know, it is not
available in the Entity's scope, I will try to find out if this is correct,
because I'm interested in atomic queries.
Regards!
2011/6/22 Marcelo Prizmic mpriz...@gmail.com
Oscar
Thanks for the example!!
Did you use
On Wed, Jun 22, 2011 at 11:41 AM, theinterned ned...@gmail.com wrote:
Hi,
I am looking around for a solution to load seed data into my project.
Until now, I have been using fixtures to load the data, but of course
this gets very dangerous when you have live, non static data on your
You should use Doctrine 2 Event listeners if you need access to the
EntityManager. Usage of the EntityManager within entities themselves is
STRONGLY discouraged, especially within Life-cycle Callbacks.
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 22 June 2011 18:32,
I forget how, but i solve problem after many attemps.
--
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
I got the same problem.
I have to curl an service passing username and password. It will return me a
cookie corresponding to the user session.
Any thoughts on how to do that?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Hi,
I wonder what is the difference between app/console cache:clear and
rm -rf app/cache/* commands. When I use the first one, I sometimes
get errors in the web application, so I use the second one. But, what
is the exact difference?
Thanks.
--
If you want to report a vulnerability issue on
Le 22/06/2011 22:59, Ozzy a écrit :
Hi,
I wonder what is the difference between app/console cache:clear and
rm -rf app/cache/* commands. When I use the first one, I sometimes
get errors in the web application, so I use the second one. But, what
is the exact difference?
Thanks.
The first one
Hi everyone,
As far as I know, the best way to backup/restore a database is using the
utility each db vendor provides for such a task. That's why I've started to
work today in a bundle that provides a way to execute these utilities within
symfony's environment. I had it working some time ago, but
+1 It would a very nice utility. I'm pretty sure it will catch community
attention.
Does It will be like the admin bundle? with a GUI for such task? Does it
would have a command-line utility?
Regards!
2011/6/22 Gustavo Adrian comfortablynum...@gmail.com
Hi everyone,
As far as I know, the
For now it's a very simple bundle with a couple of classes that handles the
call to the db vendor's utility that corresponds to the connection you use
(for now only MySQL), using the connection's parameters. It has console
commands too that uses those classes. You can simply run the backup with
Hey all,
I'm integrating the FOS UserBundle (many thanks to the bundle developers,
btw) into an application, and I'm trying to find the cleanest way to
integrate the bundle templates stylistically.
We have a base template that looks something like:
{# MyBundle::base.html.twig #}
...
{% block
Hi ppl,
I'm going crazy with this issue, probably something trivial I'm not
able to figure out.
I have a component which works fine when included on template using
include_component()
However, when I do this for ajax calls I'm getting an error.
if ($request-isXmlHttpRequest())
{
return
Hi,
loadUserByUsername() is not used to check the password. The password is
checked once you get the user in memory by comparing the hashes (or
plaintext if no encoder is used).
You will need to implement the web service so you could return the user by
its username, and configure Symfony so
Hi Christophe,
i'm moving forward :)
i'm trying to set my Area::$name property translatable.
i added gedmo annotations to my class directly (see below). i use the Sonata
AdminBundle to edit my 'Area' object.
and the default saving still use the table 'name' field and not the
'ext_translation'
You would need to set the HTTP Header X-Requested-With to XmlHttpRequest
http://stackoverflow.com/questions/3124636/detect-ajax-calling-url
--
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
41 matches
Mail list logo