Hi DC,
When I want to do that, i need to disable the csrf check by
configuring the filter form like this:
// in the configure() method of your *FormFilter
$this-disableLocalCSRFProtection();
Then, I use link_to:
?php echo link_to(format_number_choice('[0]Aucune commande|[1]Une
seule
The book is now available in the SVN repository, ready for anyone to
contribute.
More information are available on the symfony docs mailing-list:
http://groups.google.com/group/symfony-docs/browse_thread/thread/66c6eb6c91ee6726
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
hi
According to your terminology,
i think you have used Spring framework with hibernate in java or another
framework
In symfony, you first define your model layer schema in schema.yml
then you can use propel or doctrine as a ORM to generate your model layer
i have used Propel
so in propel, it
Anyone please? :(
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more options,
The main advantage of the definitive guide is that all information about
symfony are available in one place. The right side tag cloud also help a lot
to go to the correct part of the documentation.
I still look at it to get references about cache, slot and other stuffs.
Some information are only
Hi all,
I'm using nested set doctrine behavior, and as I my previous issue I'm using a
helper to render my tree, so here is how I use it :
div class=blocArbo
h3?php echo $root-getLabel() ?/h3
?php if ($root-getNode()-hasChildren()) : ?
?php echo render_nested_set(
Feel free to create your own classes as and when you need them. If
they need to be globally accessible classes from any application
create them in /lib. If they are only needed for one application (like
the frontend) store them in /apps/app_name/lib. Whenever you use them
in your code anywhere
did you set validator for this field?
On Mon, Feb 1, 2010 at 6:32 PM, DoRiaN doria...@gmail.com wrote:
I'm sorry, bind it's ok with $oForm-getEmbeddedForm(..)-bind(...)
Is there an alternative?
On 1 fév, 17:23, DoRiaN doria...@gmail.com wrote:
Finally, I can't bind with $this-embedForm(),
yes, that's good !
so, i will set the widget readonly:
$this-widgetSchema['somme']-setAttribute('readonly','readonly');
and just another question, how to remove the validator ?
(to protect against hackers)
(cf http://forum.symfony-project.org/index.php/m/85114/)
On 1
It should not be... if you are a beginner, then try Doctrine. It will be the
default in sf2
sent via htc magic
On Feb 2, 2010 9:33 AM, Rebecca Bielecki max...@gmail.com wrote:
I am thinking that my best option at this stage is to start from scratch -
ie install wamp and symfony from scratch
Hi everyone, (cross-posted from Diem Users group)
This is an urgent message seeking an experienced Symfony and Diem
developer to assist with a new web application.
The first task is general setup and configuration of the site, mainly
setting up and extending the dmUser plugin for a bunch of
Thank Andro, but not work me. The solutions that i use's following:
In the class sfAction
$value = $sf_request-getRequestParameter('namefield');
in the condition if ($value!='')that's have value.
Thanks.
On 29 ene, 13:06, Andro benjamin.luepf...@mydomicile.com wrote:
$values =
Creo que el problema es que symfony 1.3 y 1.4 usa Doctrine como
default, Ej.: Cuando creas un nuevo proyecto tienes que usar el
parametro --orm=Propel (si quieres ocupar Propel, de otra manera el
proyecto usará Doctrine), espero sea de tu ayuda, saludos!
Thank you for that - one question, what about existing projects - how do I
change it over to Doctrine? Where do I specify the orm parameter?
Sorry if that is too general a question.
- Original Message -
From: PachinSV pachi...@gmail.com
To: symfony users
!!
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this
Hey Hal,
Good feedback. You'll find us in agreement with a lot of it. We've
been slowly (too slowly!) improving the online strategy for Apostrophe
as the project itself has become more ready for the public.
Recently we set up a Trac (http://trac.apostrophenow.org) and moved to
a new Google Group
Try to compare var_dump($_FILES) with and without prefix..
On 1 ún, 14:44, DoRiaN doria...@gmail.com wrote:
Yes i have undefined index in $_FILES. It's logical.
On 1 fév, 14:03, Tom Ptacnik to...@tomor.cz wrote:
Have you tried something like
$oFormFile-bind(array(), array('file' =
Look on Client: relations - you have Book relation here with foreign
id set to book_id, but you haven't book_id columnt in your Book
table... ;)
On 1 ún, 06:51, AnTiLo0p rigre...@gmail.com wrote:
I'm trying to make the following scheme work, but I just can't do
it... I'm getting mess with all
What do you have in the $empresas variable?
how your action code?
On 1 ún, 18:53, wueb webmaster@gmail.com wrote:
Hi.
I'm having 2 problems and i though someone here could help me.
1st PROBLEM:
I have a widget called id_empresa which is a sfWidgetFormChoice with
multiple choices, like
Hi,
I can't take part in the Symfony Live 2010 event in Paris, but I
already have bought a ticket. First one who contacts me gets it for
150$ instead of 200$.
Good luck!
Florian
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this
Thank you for your reply,
the point is that if you have more complex bussines logic - which work
with more than one model. Into which class will you put it? And where
to put this class... For this i create my own bussines/application
classes and I wanted to know where to put them when working
Hello everyone,
I get a question and I need your advices.
In the admin app, I want to only display list form, so in other words, I
need to disable new and edit action.
So doing this, I tried to update the backend routing, like below:
test:
class: sfPropelRouteCollection
options:
model: Test
Thank you all for your responses,
I will create my own bussiness classes and put them into the
appropriate /lib folder. Maybe into the /lib/app or /lib/buss
subfolder for better tidiness ;)
I have only one problem with this... I my previous system the layers
can communicate only with closest
Try
unset($this-validatorSchema['yourfild']);
On 2 ún, 10:52, l3ia-etu emmanuel.tul...@gmail.com wrote:
yes, that's good !
so, i will set the widget readonly:
$this-widgetSchema['somme']-setAttribute('readonly','readonly');
and just another question, how to
I had the same question some time ago.
Here is the clues about supported formats:
http://trac.symfony-project.org/wiki/formatDateHowTo
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Here is the source code clarified quick ref for format_date
http://trac.symfony-project.org/wiki/formatDateHowTo
referencing the internal tokens as well.
* Really userfull.
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group,
Here is the source code clarified quick ref for format_date patterns
http://trac.symfony-project.org/wiki/formatDateHowTo
referencing the internal tokens as well.
* Really userfull.
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to
Hello. I've spent a good few hours trying to fix a memory leak in a
Symfony Task which uses Doctrine to access a table.
I'm finding that if I specify an application name (so that the Task
runs with an sfApplicationConfiguration instance) there is a memory
leak each time I run the simplest of
Hi,
On 01/21/2010 06:01 PM, Eno wrote:
Look at your web server error logs.
Do you mean there are hosting providers that have error logs for FPT
uploading?
Javi
--
You received this message because you are subscribed to the Google Groups symfony
users group.
To post to this group, send
Thanks Tom, but I have now more doubts..., None of my other columns
with relations have a definided *_id column but those id columns
are auto-generated when the sql schema is created, I will test adding
the book_id column to Book table, but do you have any idea of such
behaivor (not automatic
Hello Tom,
$empresas had a array with values and descriptions to put on the
select.
But right now my major problem is the 2nd. Any idea?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
For JSON exchange I doing special module 'json' named.
Addition I create config folder for json module and create
view.yml whithout template.
My actions sample:
public function executeNewChart(sfWebRequest $request) {
$retData = array();
/*
only ajax request
*/
if
Some generated modules are done correctly, but with certain ones the
routes aren't simply there when generated. I am getting errors like:
The route employee_employee_collection does not exist.
Has anyone had this issue? This is the weirdest thing, because why are
some being generated correctly
Apparently this is now only happening for modules that have relations.
On Feb 2, 10:46 am, Darren884 darren...@gmail.com wrote:
Some generated modules are done correctly, but with certain ones the
routes aren't simply there when generated. I am getting errors like:
The route
Up please :)
On 1 fév, 17:44, DoRiaN doria...@gmail.com wrote:
Hello (i'm french, excuse me for my english),
How to set trim default option on all widgets in a Form ?
Thanks,
Dorian
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
I decide to remove any reference to any foreign: {table}_id, and
leave only id as the foreign key for each relation (insteado of
tableName_id), looks like that way everything run smoth and sql/db
are created OK, thanks Tom, this is the scheme:
User:
columns:
email: { type: string(255),
Had to regenerate the app.
On Feb 2, 10:51 am, Darren884 darren...@gmail.com wrote:
Apparently this is now only happening for modules that have relations.
On Feb 2, 10:46 am, Darren884 darren...@gmail.com wrote:
Some generated modules are done correctly, but with certain ones the
routes
Tony,
I tried enabling an application configuration on my long running Symfony
1.4.1 Doctrine task and got the same behavior you did.
As far as I can tell the memory leaks appear due to
Doctrine_Connection_Profiler being enabled. The
Doctrine_Connection_Profiler (if I understand it correctly)
Hello,
I have a form definition
$this-setWidgets(array(
'razonsocial' = new sfWidgetFormInputText(),
'nombre'= new sfWidgetFormInputText(),
'direccion' = new sfWidgetFormInputText(),
'provincia_id' = new sfWidgetFormDoctrineChoice(array('model'
=
Thank you very much!
It worked flawlessly!
On Feb 2, 10:03 am, Florian sideral.undergro...@gmail.com wrote:
Hi DC,
When I want to do that, i need to disable the csrf check by
configuring thefilterform like this:
// in the configure() method of your *FormFilter
Have found where to use orm parameter. Will try to generate new project and
then port my existing project to the new project.
Thanks for your help.
- Original Message -
From: PachinSV pachi...@gmail.com
To: symfony users symfony-users@googlegroups.com
Sent: Tuesday, February 02,
On Jan 31, 5:43 pm, Brandon Turner btur...@bltweb.net wrote:
Hello all,
I've been using data fixtures more and more in my Symfony 1.4.1 project
and have run up against an out-of-memory error when loading data via the
doctrine:data-load task. My PHP CLI memory_limit is currently set at
Glad to hear it worked!
I posted to symfony-devs earlier today:
http://groups.google.com/group/symfony-devs/browse_thread/thread/e840366691f85fc8
We'll see if anything comes of it. Still not sure if it's a dev
question, but I just don't think setting up a separate env for tasks is
intended (even
Ah, I didn't realize the ticket had been closed. I wish there was a way
to monitor a ticket so I get emails when something happens to it.
On 02/02/2010 06:00 PM, Tony Piper wrote:
On Jan 31, 5:43 pm, Brandon Turner btur...@bltweb.net wrote:
Hello all,
I've been using data fixtures more
existing project is pretty hard to change ... you would need to get into
existing actions and check if they are using criteria ... custom propel
classes and some other things :)
On Wed, Feb 3, 2010 at 1:18 AM, Rebecca Bielecki max...@gmail.com wrote:
Have found where to use orm parameter.
You can do that by setting your email address in the cc field in Trac when
you're logged-in and viewing that ticket. :)
Daniel
On 03.02.2010, at 01:11, Brandon Turner wrote:
Ah, I didn't realize the ticket had been closed. I wish there was a way
to monitor a ticket so I get emails when
46 matches
Mail list logo