I don't understand what are you trying to achieve.Try to explain
again.
On 25 čnc, 20:12, Julian Reyes Escrigas
julian.reyes.escri...@gmail.com wrote:
How to use flush with symfony in a long while for send information to user
--
If you want to report a vulnerability issue on symfony, please
On 7/28/10 5:58 AM, Brandon Turner wrote:
All,
I have two config files for my production and development Symfony2
environments:
#config.yml
doctrine.orm:
auto_generate_proxy_classes: false
metadata_cache_driver: apc
result_cache_driver: apc
query_cache_driver: apc
#config_dev.yml
imports:
Then you can try to set your form like in this
http://melikedev.com/2009/12/09/symfony-w-doctrine-saving-many-to-many-mm-relationships/
article and see how Symfony does this.
On 26 čnc, 22:51, Devang Modi dpm...@gmail.com wrote:
Thanks for info.
I tried something similar but it didn't work.
Well...
I did, twice, once developing it on my dev project, and second time
upgrading my live project :)
Do you have sfGuardUserProfile declaration in your project's
schema.yml? Do you extend the default declaration in any way? Like
additional columns, relations?
Also, you might get problems with
Ok, then I think that with only 3 tables the schema would be too
complex.
Because then it looks to me like M:N relation(r1) between Design and
Type
Then this relation r1 is M:N related to the size. And also quantity is
somehow related to the all of that?
..phew.. :)
Then maybe another way would
Hello,
I have a table called 'list'.
I cannot modify the name of this table.
I would like to generate a schema and entity classes for this table.
When I run symfony doctrine:build-schema I get the obvious:
Parse error: syntax error, unexpected T_LIST, expecting T_STRING in
Hi all,
I've a problem with the delete method in my project.
here is my schema :
USER:
columns:
id:{type: integer(7), primary: true, autoincrement: true}
name: {type: string(20), primary: false}
relations:
USER_SESSION:
foreignAlias: Users
local: id_user
OK thanks, that's exactly what i was looking for !
On Jul 28, 7:32 am, pghoratiu pghora...@gmail.com wrote:
I can see 2 ways of doing this:
1. Outside symfony core -
rewrite/.htaccesshttp://www.scriptygoddess.com/archives/2007/06/13/redirect-a-subdomai...
2. Use the symfony routing
hi All,
Is it feasible to use smarty symfony's standard templating system.
We have a CMs system we want to port across into symfony (and
hopefully get some help to make a plugin but that's another story) but
it's a big job and the templates are in smarty.
If we ported the frontend stuff into
Hello,
I would like to know how can this works when we set _with_csrf
parameter on post / put ... parameter :
In sfBrowserBase we can see the wode below, that's great :
if (isset($parameters['_with_csrf'])
$parameters['_with_csrf'])
{
unset($parameters['_with_csrf']);
Hi!
I chave got a problem with credentials. In my action I add a
credential beadmin
...
$this-getUser()-setAuthenticated(true);
$this-getUser()-addCredential(beadmin);
...
If I open the session file with a textedit I see the credential stored
in the session.
But My user doesn't have it.
In my
solved, my fault. thx
On 28 Jul., 14:24, mlu...@gmail.com mlu...@gmail.com wrote:
Hi!
I chave got a problem with credentials. In my action I add a
credential beadmin
...
$this-getUser()-setAuthenticated(true);
$this-getUser()-addCredential(beadmin);
...
If I open the session file with
I was having trouble using that method without the helper. And althought it
worked on my forms, after upgrade sfDoctrineGuardPlugin from 4.x to 5.0.0
the translations of its forms doesn't work (even if it uses my translated
messages). I had to translate again the messages on the forms of
Hi All,
Propel nested set behaviour is brilliant BUT does anyone know how to
create a fixtures file for it?
I can't manually calculate the left right values for anything more
than a few children so it renders this frustratingly impaired.
Have seen a solution where you also add an adjacency list
getCurrentRouteName() would be the more appropriate method :)
On Jul 27, 1:31 pm, Gábor Fási maerl...@gmail.com wrote:
sfPatternRouting has a function called getCurrentInternalUri [1], you
should use that.
Also, there is no reason to use sfContext::getInstance() in this case,
you should use
On 7/28/10 1:25 AM, Fabien Potencier wrote:
On 7/28/10 5:58 AM, Brandon Turner wrote:
All,
I have two config files for my production and development Symfony2
environments:
#config.yml
doctrine.orm:
auto_generate_proxy_classes: false
metadata_cache_driver: apc
result_cache_driver: apc
What about to overwrite the delete method?
On 28 čnc, 09:59, pierre.use...@gmail.com pierre.use...@gmail.com
wrote:
Hi all,
I've a problem with the delete method in my project.
here is my schema :
USER:
columns:
id: {type: integer(7), primary: true, autoincrement: true}
hello,
can someone help me how to display the array below like
ex. so...@yahoo.com and some2.yahoo.com
Array ( [0] = Array ( [id] = 1 [email] =
so...@yahoo.com )
[1] = Array ( [id] = 17 [email] =
$ex = ;
foreach($array as $element){
if(strlen($ex0){
$ex .= and ;
}
$ex .= $element['email'];
}
something like this
On Wed, Jul 28, 2010 at 4:08 PM, Andro Fumero fugitive...@yahoo.com wrote:
hello,
can someone help me how to display the array below like
ex.
???
foreach ($var as $val){
echo $val['email'];
}
Am 28.07.2010 17:08, schrieb Andro Fumero:
hello,
can someone help me how to display the array below like
ex. so...@yahoo.com and some2.yahoo.com
Array ( [0] = Array ( [id] = 1 [email] = so...@yahoo.com )
[1] = Array (
Hello,
after hours of research, we found that :
IS WORKING :
player_search:
url: /players/rechercher
param: { module: propositions, action: search }
ISN'T WORKING :
player_search:
url: /:sf_culture/players/rechercher
param: { module: propositions, action: search }
requirements:
Ok, a friend told me a solution :
my rules in rounting.yml are too much in the bottom
i didn't know it must follow a hierachical pattern.
I put my 2 routes in the begining of routing.yml and it fixed
everything !
--
If you want to report a vulnerability issue on symfony, please send it to
thats will output some like this:
so...@yahoo.comsome2@yahoo.com
On Wed, Jul 28, 2010 at 4:26 PM, Georg geor...@have2.com wrote:
???
foreach ($var as $val){
echo $val['email'];
}
Am 28.07.2010 17:08, schrieb Andro Fumero:
hello,
can someone help me how to display the array
On 28/07/10 11:08, Andro Fumero wrote:
hello,
can someone help me how to display the array below like
ex. so...@yahoo.com and some2.yahoo.com
Array ( [0] = Array ( [id] = 1 [email] = so...@yahoo.com )
[1] = Array ( [id] = 17 [email] = so...@yahoo.com )
)
Thanks
Try:
?php
Hey Paul,
well, for one, there's this plugin here:
http://www.symfony-project.org/plugins/sfSmartyPlugin
This comes with a bunch of symfony specific smarty plugins and should
give you plenty of ideas about how to integrate the two.
With regards to Doctrine vs. Propel, I would take a close look
Oh, and needless to say longterm it would make sense to look into Twig
instead of Smarty.
That way you'll roll with highly symfony friendly tools.
Daniel
On Jul 28, 9:06 am, Richtermeister nex...@gmail.com wrote:
Hey Paul,
well, for one, there's this plugin
Thank you George, thank you Filipe for giving me some of your time in helping
me
with this one.
I Got this now solved.
God bless you all
From: Filipe Costa bue...@gmail.com
To: symfony-users@googlegroups.com
Sent: Wed, July 28, 2010 11:22:09 AM
Subject: Re:
and thank you also rodrigo. ^_^
From: Rodrigo Ruiz Fuentes rru...@gmail.com
To: symfony-users@googlegroups.com
Sent: Wed, July 28, 2010 11:54:21 AM
Subject: Re: [symfony-users] Array Problems
On 28/07/10 11:08, Andro Fumero wrote:
hello,
can someone help me
Hi
I have followed the steps below to add a select to change the language
of my app.
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_language_switching
It works OK for the first time I change the language, but the next time
I try to change it I need to delete the
This probably won't work, but try explicitly defining a different
field name for the slug using the name option:
Usuario:
actAs:
Sluggable:
unique: true
fields: [nombre_apellidos]
canUpdate: true
name: 'myslug'
On Jul 27, 10:57 am, Javier Garcia
Thanks, but it didn't work.
On 07/28/2010 09:20 PM, John Kary wrote:
This probably won't work, but try explicitly defining a different
field name for the slug using the name option:
Usuario:
actAs:
Sluggable:
unique: true
fields: [nombre_apellidos]
I'm not sure I understood you, but I didn't add any other setting. I
just create a new project and install sfDoctrineGuardPlugin.
On Jul 27, 8:07 pm, Joshua Estes f1gm...@gmail.com wrote:
If you have the setting set to redirct to a certain route once user logs in
it will do this.
On Jul 27,
I'm trying to make a task in the backend for re-build the lucene's index but
the index grows with the time and is more slower to rebuild in the future, and
trying to make an action form rebuild the index and notice to user the progress
of the operation, I need send to the browser information
Did you set the signin redirect url in file app.yml?
all:
sf_guard_plugin:
success_signin_url: @my_route?param=value # the plugin use
the referer as default
success_signout_url: module/action # the plugin use
the referer as default
On Wed, Jul 28, 2010 at 5:10 PM,
Hi all,
I'm after some suggestions on the best way to add some CSS classes to
the body tag in layout.php depending on the module action that is
being executed.
My initial ideal was to be able to have my body tag in layout.php:
body?= (@$bodyTags ? ' class='.$bodyTags.'' : ''); ?
and then in
What about including a slot and then, depending on the template, use the
class accordingly?
body ?php include_slot( 'body_attributes' ) ?
And then in the template:
!-- Full width template --
*?php slot( 'body_attributes', 'class=full-width-body-class' ) ?*
and in other template:
!-- Half
Hi symfony guys!
I've been working on embedded forms for some days now, and I'm really
getting desperate
This is my story:
I have 3 tables... expense, user and comment; they have a 1:N
relationship, where the user must be able to type a new comment each
time the form is displayed. So, I need to
Maybe I'm wrong but.. isn't $comment set already on this line by 'getValue'?
(saveEmbeddedForms of ExpenseForm)
*$comment** **=** **$this**-**getValue**(**'**comment**'**);*So the line:
*unset**(**$forms**[**'**comment**'**]);*
doesn't execute never?
On Wed, Jul 28, 2010 at 11:22 PM,
Sorry, the last line I was talking about is:
*if** (**!**isset**(**$comment**))
{
**unset**(**$forms**[**'**comment**'**]);
}
The if condition would be always false*
On Wed, Jul 28, 2010 at 11:40 PM, Gustavo Adrian
comfortablynum...@gmail.com wrote:
Maybe I'm wrong but.. isn't $comment
Yup, that's the setting I was talking about, sorry I didn't look up more
info for you but I'm on my phone so its a little harder ;p
In the code it checks to see if that setting has anything in it. If it does
then it uses the route you entered, if not then it just uses the referrer
page.
On Jul
Hi All,
I want to implement an object, useragent, permission based access
control system but I was wondering where is the best place to do the
check for access.
Obviously I need to get the id of the object from the url and I also
need the current user id and whatever permission is being tested.
41 matches
Mail list logo