I need to update field lastLoginTime when user is logged in.
How can I do this?
Without redirect of course, is User model in Security Bundle support this?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
http://jquery.com/
On Wed, Apr 6, 2011 at 9:59 PM, Jehan jeeha...@gmail.com wrote:
Dear All
I am using symfony 1.4.
I want to show data in table format, with each record show a hyperlink.
when click on link then that specific record edited using ajax.
How to do it.
--
If you want to
Le 07/04/2011 08:40, Azat a écrit :
I need to update field lastLoginTime when user is logged in.
How can I do this?
Without redirect of course, is User model in Security Bundle support this?
This can be done using the interactive_login event. Look at
I know it can be done by jquery but how.
On Thu, Apr 7, 2011 at 11:59 AM, Gareth McCumskey gmccums...@gmail.comwrote:
http://jquery.com/
On Wed, Apr 6, 2011 at 9:59 PM, Jehan jeeha...@gmail.com wrote:
Dear All
I am using symfony 1.4.
I want to show data in table format, with each
You should use Javascript yourself in the good old fashioned way, including
all your own js files. You can use Javascript libraries as well like Jquery
which makes things a lot simpler.
On Wed, Apr 6, 2011 at 1:16 PM, Jehan jeeha...@gmail.com wrote:
Dear all
I want to use ajax functionality
Using the ajax function inside JQuery.
Your question is like asking How do I use PHP?. There is a lot you need to
know and can't be described in a single message on the message lists. Read
the site and learn how JQuery works and then learn how to use the ajax
functions within JQuery.
On Thu, Apr
Hi all,
I want to execute the command mysqldump, which requires the login and
password of the database.
How do I get those values in an action ?
--
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
No I dont have that Class - the setProfileImageUrl method I was posting was
auto-generated by doctrine using the old documentation /**
@Field(type=String) */ I had.. Maybe that's why Doctrine thought of it as
it would be a root-namespaced Class..
--
If you want to report a vulnerability issue
I struggeld with the Boolean type yesterday evening with no success and gave
up for yesterday...
this morning - everything worked fine... I can register, login, logout,
change everything the FOS user bundle provides.. maybe that Boolean thing
was really something in the cache that I corrected
Hi.
I have a problem with doctrine2 in symfony2 app with postgres
database.
I get error:
SQLSTATE[3F000]: Invalid schema name: 7 ERROR: schema main does
not exist
Problem is that my schema is Main not main. When I rename it, similar
thing happends for table relation:
SQLSTATE[42P01]:
Hello to all.
Anybody knows why after PR8 in Symfony\Component\HttpFoundation\File
was deleted function getOriginalName()
--
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
I just started with a project using the FOC UserBundle - after some issues I
finally had the Login form under /login.
But when I tried to login with a generated user I simply got an error saying
*Invalid type specified String*
*
*
Thats the dev.log entry for this unsuccessful login try (message
Thanks for your reply, yes I found something.. and it helped a bit :)
doctrine also made a datatype out of it:
/**
* Set profileImageUrl
*
* @param String $profileImageUrl
*/
public function setProfileImageUrl(\String $profileImageUrl)
{
I'm used to using MVC where models can serialise themselves (into an
array, which is easily JSON-able).
I'm trying to build an API app where multiple views in multiple
modules serialise the same object. I can easily add that code to the
model, which works fine. However the problem arises when I
Hello All,
I have just created the file: Acme.MyBundle.Entity.Users.php in:
Acme/MyBundle/Resources/config/doctrine/metadata/orm witch contains:
?php
namespace Acme\MyBundle\Entity;
/**
* @orm:Entity
* @orm:Table(name=users)
*/
class User
{
/**
* @orm:Id
*
There is no real explanation I think. I was asking for this, but
didn't get any answer.
You can use getName() if you are not using Form for uploading file.
And in case you are using it, you can getOriginalName from File field.
--
Aurelijus Valeiša
On Thu, Apr 7, 2011 at 8:32 AM, Кирилл Кокоша
In sfDoctrinePlugin, you can look at the file:
sfDoctrineConfigureDatabaseTask.class.php:
protected function execute($arguments = array(), $options = array())
{
// update databases.yml
if (null !== $options['app'])
{
$file =
Le 07/04/2011 11:37, JeanChristophe a écrit :
Hello All,
I have just created the file: Acme.MyBundle.Entity.Users.php in:
Acme/MyBundle/Resources/config/doctrine/metadata/orm witch contains:
?php
namespace Acme\MyBundle\Entity;
/**
* @orm:Entity
* @orm:Table(name=users)
*/
class User
Le 06/04/2011 19:53, Conrad a écrit :
No I dont have that Class - the setProfileImageUrl method I was
posting was auto-generated by doctrine using the old documentation /**
@Field(type=String) */ I had.. Maybe that's why Doctrine thought of
it as it would be a root-namespaced Class.. --
If you
And without this bundle?
--
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
Le 07/04/2011 12:09, Azat a écrit :
And without this bundle?
Implement your own listener on this event. The link was to show you an
example on how to do this.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
Hello,
I'm trying to migrate an application to sf2 and I don't know how to
solve the following problem:
When showing an item (route like /item/show/{id}), I want to be able
to directly go to previous and next items (according to sort order).
In symfony1, I had 2 methods in the Item class that
Le 07/04/2011 12:17, Michel a écrit :
Hello,
I'm trying to migrate an application to sf2 and I don't know how to
solve the following problem:
When showing an item (route like /item/show/{id}), I want to be able
to directly go to previous and next items (according to sort order).
In symfony1,
@Christophe COEVOET:
Thanks you very much.
So, I have correctly placed my class in Entity dir, and with app/
console, Symfony2 have created the good associated class: Entity
\User.php
But, I have now another problem. I have write a little controller but
when I execute the script, one error is
On Mar 27, 1:01 am, Javier Garcia tirengar...@gmail.com wrote:
But.. why if paginas has a validator-pass?
Well, I have learned the validatorPass doesn't mean it always passes
validation...Now I have change my code but it neither works...This is
my new code:
Le 07/04/2011 13:48, JeanChristophe a écrit :
@Christophe COEVOET:
Thanks you very much.
So, I have correctly placed my class in Entity dir, and with app/
console, Symfony2 have created the good associated class: Entity
\User.php
But, I have now another problem. I have write a little
Le 07/04/2011 14:05, JeanChristophe a écrit :
OK but how I can designed this mapping just for this unique class file
User.php ?
The documentation on Symfony about Doctrine is very little, and the
Doctrine Documentation doesn't consider the Symfony2 context.
Thanks a lot,
JeanChristophe.
The
OK but in my first post, I have already put annotations in my class.
So what is the problem now ?
- My class is correctly completed with annotations so mapped.
- My database is correctly available, and tables are already
successfully generated by Doctrine.
- My Bundle configuration is OK.
- My
Le 07/04/2011 14:28, JeanChristophe a écrit :
OK but in my first post, I have already put annotations in my class.
So what is the problem now ?
- My class is correctly completed with annotations so mapped.
- My database is correctly available, and tables are already
successfully generated by
Thanks. I will try!
--
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 symfony-users@googlegroups.com
To
Wrong group go here please
= https://groups.google.com/forum/#!topic/symfony-devs/UVTmvjkN3M4
--
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
Thanks a lot. It works!
--
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
Hey Jean-
After all of the changes, what exactly do you have now (perhaps paste
your User class again), and what is the error?
Symfony's documentation coverage of Doctrine will be improved shortly
- I want to make sure we address and correctly explain the process (so
I want to see what your
Hey guys-
The correct docs link is here:
http://symfony.com/doc/2.0/book/templating.html#overriding-bundle-templates
There in fact *was* a bug in and around PR7 and PR8, though I don't
know the exact versions.
I've just pulled down the symfony-standard distribution and
successfully overridden
OK. I give you all details with I have understand about the online
documentation.
1) Create the bundle:
php app/console init:bundle Acme\MyBundle src
- The bundle AcmeMyBundle was created at src/Acme/MyBundle and is
using the namespace Acme\MyBundle.
- The bundle contains a sample controller,
Hey Mike-
I was a little behind on the Trac tickets, but I closed all Symfony2
docs Trac tickets yesterday.
Posting here, creating tickets and creating pull requests are all good
options (pull requests are the best option) - I try to keep a pulse on
everything.
Thanks!
On Apr 6, 11:42 am,
Le 07/04/2011 15:31, JeanChristophe a écrit :
4) I create Entity directory in src/Acme/MyBundle
I create the class Acme.MyBundle.Entity.User.php in this directory
witch contains:
The class file is User.php, not Acme.MyBundle.Entity.User.php
?php
namespace Acme\MyBundle\Entity;
6) Generation:
I'd be glad to check it out. Is there any documentation on how to
migrate my code to function with this experimental branch?
For example: I'm getting errors about form.context service not
existing.
On Apr 7, 7:39 am, Bernhard Schussek bschus...@gmail.com wrote:
Hi Donald,
Can you verify
Ok so how I can create a real class (i.e: with setPseudo() methods)
from my mapping class (which was named Acme.MyBundle.Entity.User.php) ?
--
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 all,
I was trying to integrate the Doctrine MongoDB Softdelete Extension to my
(yet very simple test) application following briefly the instructions on the
Readmehttps://github.com/doctrine/mongodb-odm-softdelete/blob/master/README.markdownand
for the configuration on the
Bundle
Hi everybody,
I use sfEasyCmsAdmin, and would like to add two new fields on my
database.
I change my class on ::
lib/model/doctrine/sfEasyCmsPlugin/,
lib/forml/doctrine/sfEasyCmsPlugin/,
lib/filter/doctrine/sfEasyCmsPlugin/
Then I added new fields on sfEasyCmsPlugin schema.yml and clear
Hi,
i want to save untranslated strings to a database.
Is there a way to extend the translation in the FrameworkBundle? Add a
custom translator, a listener i can use or something else?
Thanks,
Dennis
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hi All,
I hope I'm posting to the correct group! I am developing a new
application based on: Symfony 2 PR9 w/ doctrine-mongodb and doctrine-
mongodb-odm. I am using yaml annotations to generate my schema/
documents. As far as I can tell the application is working correctly
and I am able to find
I have a very simple bundle where I parse a config to store objects in
the DIC...
class MyGreatExtension extends Extension
{
public function load(Array $config, ContainerBuilder $container)
{
...
$container-set('my.great.collection', new ArrayCollection);
//
replace main to public
On 6 abr, 19:44, umpirsky umpir...@gmail.com wrote:
Hi.
I have a problem with doctrine2 in symfony2 app with postgres
database.
I get error:
SQLSTATE[3F000]: Invalid schema name: 7 ERROR: schema main does
not exist
Problem is that my schema is Main not main.
Here is the code I am using in my controller to insert the data :
$group = new GroupPageEngine();
$group-setInternalName('HomePage');
$group-setTitle('HomePageT');
$em = $this-get('doctrine.orm.entity_manager');
$em-persist($group);
$em-flush();
Anything wrong here ?
Le 07/04/2011 15:15, Dennis Gädeke a écrit :
Hi,
i want to save untranslated strings to a database.
Is there a way to extend the translation in the FrameworkBundle? Add a
custom translator, a listener i can use or something else?
Thanks,
Dennis
Look at https://github.com/jfsimon/RosettaBundle
Le 07/04/2011 17:54, ericclemmons a écrit :
I have a very simple bundle where I parse a config to store objects in
the DIC...
class MyGreatExtension extends Extension
{
public function load(Array $config, ContainerBuilder $container)
{
...
Le 07/04/2011 18:01, seven seven a écrit :
Here is the code I am using in my controller to insert the data :
$group = new GroupPageEngine();
$group-setInternalName('HomePage');
$group-setTitle('HomePageT');
$em = $this-get('doctrine.orm.entity_manager');
Sorry for the late reply but what does using sphinx have to do with
doctrine?
Sphinx always returns document id's which if you want the related
information you have to retrieve it
from the db.
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Here is what I have in my app/config/config.yml :
doctrine:
dbal:
default_connection: default
connections:
default:
driver: %database_driver%
host: %database_host%
dbname: %database_name%
user:
where did data/bin/symfony file go?
It is required by NetBeans as part of the Symfony/Tools setup.
It was there and assumed to be there by Netbeans in the 1.x version
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
On Thu, Apr 7, 2011 at 4:36 AM, OnDistantShores cameron.r...@gmail.comwrote:
I'm used to using MVC where models can serialise themselves (into an
array, which is easily JSON-able).
I'm trying to build an API app where multiple views in multiple
modules serialise the same object. I can easily
As far as I know there is no support for S2 in Netbeans.
The file you are liooking for is ~/app/console
Regards.
2011/4/7 JC julio.castillo.2...@gmail.com
where did data/bin/symfony file go?
It is required by NetBeans as part of the Symfony/Tools setup.
It was there and assumed to be there
Le 07/04/2011 10:36, OnDistantShores a écrit :
I'm used to using MVC where models can serialise themselves (into an
array, which is easily JSON-able).
I'm trying to build an API app where multiple views in multiple
modules serialise the same object. I can easily add that code to the
model,
Hi all,
I have a service which needs the request service as its first argument. So
far, I've been using this since it's the only way I've found that works for
me:
service id=request synthetic=true /
service id=my_own_service class=%my_own_service_class%
argument type=service id=request /
Hi,
I have a RFID R/W that will be plugged in at the client end, i need to R/W
data into the RFID , i know browser cannot interact with the hardware
device, any idea on how to take it further.
--
Thanks Regards
Srivatsa
--
If you want to report a vulnerability issue on symfony, please send
Is it this google group, or
http://forum.symfony-project.org/viewforum.php?f=23
Both seem to be fairly active.
Would it make sense to consolidate into a single place?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
I was noticing the default themes here:
https://github.com/bschussek/symfony/tree/experimental/src/Symfony/Bundle/TwigBundle/Resources/views
If I specify a theme, where exactly do I need to place these files and
do I use a simple name or a bundle path?
I'm working in Netbeans too for a couple of days in a sf2 project and it
works very nice - but I didn't tell Netbeans that this is a Symfony project,
just a regular PHP.. Autocomplete and all the nice dev stuff is also very
good.
Check out the Netbeans Twig Plugin (not stable or finished yet
60 matches
Mail list logo