I want to build some extras (plugins, add ons, whatever), that I can
offer to clients. These add ons will be things like photo galleries,
news article listings, blogs, etc.
I want to put these add ons in a location where any and all projects
have access to them. I don't want to have to copy the
mfony-project.org/reference/1_4/en/05-Factories#chapter_05_mailer
>
> On Sun, Nov 29, 2009 at 20:49, Paul Witschger wrote:
>
>> Hey all,
>>
>> I have the following code being handled after a Contact Us form submission.
>> The first thing I do is fill the $conta
Hey all,
I have the following code being handled after a Contact Us form
submission. The first thing I do is fill the $contact object, call
$contact->save(); and then this:
# begin code #
##
if( ! empty( $contact->email ) )
{
if( ! empty( $contact->name ) )
{
$from = a
m class and validators will kick in to check.
> - If error on bind, return to view that displays errors otherwise if
> no validation errors continue processing...
>
> For more info, look at the forms
> book: http://www.symfony-project.org/forms/1_2/en/
>
>
> On Sun, Nov 29, 2
OK, newbie question here.
I used doctrine to build my forms. I then used the non-base class to
customize my forms since I don't need every single field in the form
(all I'm doing is unsetting the fields I don't want). In the
BaseContactForm class, it is setting all the fields as well as
$this-
I'm just trying to see if there is a good way around it.
larry wrote:
> On Nov 27, 3:32 am, Paul Witschger wrote:
>
>> I have a page with a contact form at '/contact'. The form gets submitted
>> to '/contactsubmit'. This function does what it has to do,
I have a page with a contact form at '/contact'. The form gets submitted
to '/contactsubmit'. This function does what it has to do, and then
redirects to '/contactthankyou?' .
http_build_query($request->getParameter('contact'));
This works. But I would like to know if there is a way that I can
I'm new to symfony, so I apologize now if this has already been
answered, or is a stupid question.
I'm trying to setup one of my form submissions to send an email whenever
it is submitted (Contact Form).
I've read the What's New section of 1.3 and it shows that you can do:
$this->getMailer()->
I did a little trial and error and found out that if you change your
method call to:
in my case getAddress_2()
in your case getPhone_1()
it will work. I'm not sure why it camel cases the function call, if it
doesn't work, but I do think it may have something to do with it only
containing a dig
I'm going to assume you are building your javascript in the controller
and putting it into a variable to be outputted in the view. If this is
not the case, disregard my answer below.
I'm new to symfony, so I apologize if there is a better way, but from
what I can determine, you basically have t
10 matches
Mail list logo