if successful
*/
public function delete(Doctrine_Connection $conn = null)
Hope to have helped!
Best Regards,
Thiago Campezzi
On Mar 29, 9:01 am, bretth brett...@gmail.com wrote:
Hi,
I'm getting the error
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or
update a parent
Thanks! This worked like magic :)
Best Regards,
Thiago Campezzi
campe...@gmail.com
On 17 dez, 20:21, xplo xplo...@gmail.com wrote:
Hi,
it s probably because you call setMessage after the validator has been
created, the text message is set when the validator is created and
wont be changed
/
exceptions, yet nothing actually happens and the same old Required.
and Invalid. messages pop up on my form.
Is there something incredibly dumb I'm missing here or is this just a
bug in sf 1.4?
Thanks for your time!
Best Regards,
Thiago Campezzi
campe...@gmail.com
--
You received this message because
Hello everyone, I'm starting a new project and I'd like some input
from the community as to what is the best way to approach this
implementation. Here it goes:
The project goal is to automate the client's invoice generation and
management (email notifications,etc). The client already has a custom
a magical solution ;)
Thanks again and best regards,
Thiago Campezzi
campe...@gmail.com
On 14 dez, 16:57, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Sorry for my previous mail.
i was on the move and i just remembered Symfony 1.2 ... instead of
symfony (1.4,
doctrine 1.2)
About your initial
(heard from others ): Change your
job, or change your job. or, of course the client ...
Alecs
On Mon, Dec 14, 2009 at 10:46 PM, Campezzi campe...@gmail.com wrote:
Hi Alecs, thanks for your replies! My initial idea was to upgrade
their entire plataform to run on symfony, but they didn't
and getting more freedom with symfony :)
Thanks again for your input!
Best Regards,
Thiago Campezzi
campe...@gmail.com
On Dec 14, 8:03 pm, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
That basically i would call it migration from an old system to the
new system.
Yes ... you can do that ... also
starting point :)
Also be sure to read through some of the messages posted to that TRAC
discussion, they really helped me grasp the concept of embedded forms
a bit better! ;)
Regards,
Thiago Campezzi
On Jun 29, 7:12 am, Java geek develo...@jsptube.com wrote:
Sorry, there was a typo
each widget will display, but I think you can
handle that part - the trick is passing the query option when creating
the widget.
More info here:
http://www.symfony-project.org/api/1_2/sfWidgetFormDoctrineSelect
Hope that was helpful!
Kind Regards,
Thiago Campezzi
On Jun 20, 9:22 pm, William
words, you're creating possible url conflicts, and to avoid that
you'll have to code some sort of reserved keywords system in the
category creation part.
Hope that helped clear up things a bit!
Regards,
Thiago Campezzi
On Jun 19, 3:00 pm, Richtermeister nex...@gmail.com wrote:
Hi all,
there's
Hi Eno,
Not sure if this is the best solution, but nothing stops you from
creating another rule without the page parameter:
url: /getarticle_by_id/:id
param: { module: xxx, action: yyy }
url: /getarticle_by_id/:id/:page
param: { module: xxx, action: zzz }
Cheers
Thiago Campezzi
On Jun 8, 12
if you have any luck.
Kind Regards,
Campezzi
On Jun 3, 12:23 pm, Eric ericteub...@googlemail.com wrote:
Hi,
I have a form and I use the following route as url:
--- routing.yml
messages_view_conversation_update:
url: /messages/reply/:id/update
# class: sfDoctrineRoute
-Validation#chapter_02_global_validators
Hope that was a valid starting point! :)
Best Regards,
Campezzi
On Jun 2, 12:43 pm, Alex Gilbert a...@valueneutral.com wrote:
Field A is not required, but if Field A does contain a value then
Field B is required.
Can I use sfValidatorOr to do
can't set a
specific function to handle the file name (in other words, you're
stuck with the name symfony generates by default).
This bug is also probably documented in Trac, if you need more info.
Good luck taming your embedded forms! :)
PS: Are you brazilian too?
Best Regards,
Thiago Campezzi
Hey Daniel,
Yup, embedding is the way. I was about to point you to this excellent
tutorial when you found the answer by yourself:
http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin
A good read, anyways.
Cheers!
On May 28, 7:55 pm, halla
Thanks Fabien, that's exactly what I wanted! I just didn't know
exactly which method to override. I'm still finding my way around
symfony ;)
Cheers!
Best Regards,
Campezzi
On May 26, 6:09 am, FlyLM [ML] flylm...@gmail.com wrote:
2009/5/25 Campezzi campe...@gmail.com:
Hi Fabien
Hi there!
I'm getting started with sfDoctrineGuardPlugin and after doing a few
tutorials, I started to implement it in one of my projects. I have
created a registration form and embedded the Profile class form. So
far, so good - whenever a new user registers, both the sfGuardUser and
Profile
Hi there,
I've been messing with sfDoctrineGuardPlugin for the last few days (as
you can notice from my posts in this period) and I'm running into a
strange problem.
- It is my understanding that a user inherits permissions from his
groups.
- It is also my understanding that during the signIn()
field in an
attempt to be added to another group, one with a different permission
set?
Best Regards,
Campezzi
On May 25, 12:53 pm, FlyLM [ML] flylm...@gmail.com wrote:
Hi,
If you have always sfDoctrineGuardPlugin installed, take a look at
this file line 84 (savegroupsList method)
/lib/form
if that tutorial got a
correction ;)
Thanks again :)
On May 25, 5:05 pm, Campezzi campe...@gmail.com wrote:
Hi there,
I've been messing with sfDoctrineGuardPlugin for the last few days (as
you can notice from my posts in this period) and I'm running into a
strange problem.
- It is my understanding
to the Profile class? :)
Thanks and kind regards,
Campezzi
On May 19, 9:01 pm, David Ashwood da...@inspiredthinking.co.uk
wrote:
Use sfGuard as the root for all that need to reference the user.
The profile is just one of them. Keep it simple, keep it dry :)
-Original Message-
From: symfony-users
related to the Department
he's being added to and setting it to his sfGuardUser.
Did I make sense? :)
Thanks
Campezzi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email
variable on
the form class by using the getOption method of the sfForm class:
$this-getOption('user_id')
Mix this with a custom method for getting the form field choices and I
guess you have a solution there!
Hope to have helped. Good luck! :)
Thiago Campezzi
On May 6, 11:45 am, Stephen stephen.j.t
.
See ya!
Campezzi
On May 6, 12:30 pm, Stephen stephen.j.t...@gmail.com wrote:
I think I need read through the sfForm API
lol
On May 7, 1:14 am, Campezzi campe...@gmail.com wrote:
Hi Stephen,
In your action code, when you're creating the form so that it's
available on the view, you can
.
IMO checking the actions is the worst part, since projects usually
have several modules and countless actions - checking and updating one-
by-one is really, really boring and error-prone.
Good luck!
Best Regards,
Thiago Campezzi
On Apr 25, 3:44 pm, Lawrence Krubner lkrub...@geocities.com wrote
there must be something simple that I'm over looking, but I can't
put my finger on it.
Anyone?
Cheers,
Tom
- Start Original Message -
Sent: Thu, 9 Apr 2009 08:00:55 -0700 (PDT)
From: Campezzi campe...@gmail.com
To: symfony users symfony-users@googlegroups.com
Subject: [symfony-users
(sfWebRequest $request)
{
$this-image = $request-getParameter('id') .'.png';
}
and then obviously you could use this variable on the view:
img src=. $image . /
Hope to have helped!
Best Regards,
Thiago Campezzi
On Apr 9, 12:09 am, Tom Haskins-Vaughan t...@templestreetmedia.com
wrote
As everyone else said, generator.yml is a configuration file that is
only valid to configure modules created with the doctrine:generate-
admin [applicationName] [modelName] command (or its Propel
counterpart). That being said, you can invoke generate-admin to create
configurable admins in any
Glad I could help! Rock on :)
On Mar 31, 12:04 pm, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Campezzi, thanks a lot! This indeed works! I did the Jobeet tutorial,
but oviously I read over it.
public function generateFileFilename(){
return 'testnow.pdf
From what I could gather, the problem is that this is a dynamic form,
where the user can add new fields on the fly. When the form is
submitted, the script doesn't know exactly how many checkboxes exist
(because the user could have created 2, 3, 10, or 50 of them). That's
why Mark can't use
I didn't test this, but I remember seeing something like that in the
Jobeet tutorial:
If a generateLogoFilename() method exists in the model, it will be
called by the validator and the result will override the default
generated logo filename. The method is given the sfValidatedFile
object as an
Hello there,
I've been a PHP developer for some time now, and recently I began
exploring the world of Symfony. So far, I like what I see, but there's
one thing that I still haven't quite figured out: in a real-world
environment, what are the basic advantages and drawbacks of Propel and
Doctrine?
,
Campezzi
On Mar 24, 9:58 am, Campezzi campe...@gmail.com wrote:
Hello there,
I've been a PHP developer for some time now, and recently I began
exploring the world of Symfony. So far, I like what I see, but there's
one thing that I still haven't quite figured out: in a real-world
environment
\sfProtoculousPlugin\web
\js
However, my PHP data folder is:
C:\wamp\bin\php\php5.2.9-1\data\symfony\web\sf
Now I'm even more confused than I were initially. Help! :)
On Mar 21, 5:59 pm, Campezzi campe...@gmail.com wrote:
Hi there,
I recently installed symfony on my test server at home (Windows box
running
since I have never used
Script.aculo.us with Symfony. But out of curiosity, which Ajax
tutorial?
Also, what Symfony version are you using?
On Sun, Mar 22, 2009 at 9:59 AM, Campezzi campe...@gmail.com wrote:
Hi there,
I recently installed symfony on my test server at home (Windows box
- I downloaded the symfony source from symfony-
project.org and, browsing the files, I see that the file structure
there looks just like my installation does.
Any other ideas?
Thanks again,
Campezzi
On Mar 21, 7:30 pm, Lee Bolding l...@leesbian.net wrote:
Possibly your the php.ini for cli
Hi again Lee, thanks for answering :)
Indeed, installing v1.1 gave me the folder I was missing. Maybe there
is something wrong with the 1.2.4 package after all... I wonder how
that could be informed to the folks that take care of the project?
Kind Regards,
Campezzi
On Mar 21, 8:28 pm, Lee
to the Ajax
Tutorial for 1.2
Thanks for the help :)
On Mar 21, 8:51 pm, Campezzi campe...@gmail.com wrote:
Hi again Lee, thanks for answering :)
Indeed, installing v1.1 gave me the folder I was missing. Maybe there
is something wrong with the 1.2.4 package after all... I wonder how
that could
38 matches
Mail list logo