Div inserted after $form-create

2008-05-20 Thread Brian Rojas

I use the $form-create method in 1.2 like so:

?php echo $form-create(null,array('url' = array('controller' =
'pages', 'action' = 'contact'), 'id' = 'ContactMiniForm', 'default'
= false, 'type' = 'post')) . \n; ?

and the outputted HTML includes a div set to 'display:none' :

form id=ContactMiniForm method=post action=/contact
onSubmit=event.returnValue = false; return false;fieldset
style=display:none;input type=hidden name=_method
value=POST //fieldset

does anyone know if there is a way to stop this from happening, i
couldn't find anything about this in the api

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Email Component sends email with empty body

2008-05-19 Thread Brian Rojas

The most obvious problem would be that you aren't setting the Email-
template correctly.  This happened to me cause i misspelt the
template.  You should check that, also pls send code if that is not
problem so can investigate better.

On May 19, 8:54 pm, donnerbeil [EMAIL PROTECTED] wrote:
 Hi!

 I'm using the latest nightly so this is probably not the 
 case:https://trac.cakephp.org/ticket/3820

 But I still receive empty emails. The strangest part is, that it
 depends on the email provider. I have an email account at my own
 domain. I check the mails with Thunderbird (IMAP) and it works. Then I
 have an Email account at freenet.de, a popular email provider in
 germany. When I check the freenet account with thunderbird(Pop3) I get
 an empty email body. When I check the freenet account via the
 webinterface, I can read the body but it's not formatted correctly. It
 shows the headers then.

 I followed exactly the instructions 
 here:http://manual.cakephp.org/view/269/sending-a-basic-message

 I assume, that it has maybe something to do with utf8 encoding.
 Because when I check the freenet mail with Thunderbird and manually
 set the encoding for the mail  to utf8 in Thunderbird, then I can at
 least read the email, but still only with all the headers in it.

 I'm trying to fix this for over a week now. My whole web app is
 working, but I need to send an email with an activation code for the
 new users. So please help me fix this last issue.

 Thanks a lot for any help.

 Donnerbeil

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---