Re: How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-26 Thread Chambrln
I put together a simple formButton helper if you want to use it it appears to work. '' ); /** * Creates a input type="button" * * @param string $fieldName The label appearing on the button * @param array $options * @return

Re: How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-25 Thread senser
No, I don't want 'Submit' button. I just want a button with some destination. On Oct 25, 9:33 pm, dixon_ <[EMAIL PROTECTED]> wrote: > Hi! > > Are you sure you dont mean "submit button"? If thats the case you > should use: > > $form->submit('Example'); > > On 25 Okt, 13:59, senser <[EMAIL PROTECT

Re: How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-25 Thread dixon_
Hi! Are you sure you dont mean "submit button"? If thats the case you should use: $form->submit('Example'); On 25 Okt, 13:59, senser <[EMAIL PROTECTED]> wrote: > Tonight I upgraded CakePHP to latest release - 1.2.0.5875-pre-beta ana > all buttons in layouts of my currently developed application

Re: How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-25 Thread DGPhoebus
Okay forgot that that site doesn't show the buttons. As of now you would have to do something like this: ... which you probably already know. lol. Anyway... tried to help. Daniel On Oct 25, 7:59 am, senser <[EMAIL PROTECTED]> wrote: > Tonight I upgraded CakePHP to latest release - 1.2.0

Re: How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-25 Thread DGPhoebus
Hey Guys check this out for help: http://www.donutczar.com/cake1point2/donuts/ Got me going in the right direction. Daniel On Oct 25, 7:59 am, senser <[EMAIL PROTECTED]> wrote: > Tonight I upgraded CakePHP to latest release - 1.2.0.5875-pre-beta ana > all buttons in layouts of my currentl

Re: How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-25 Thread Chambrln
I had the same problem yesterday. I don't use buttons regularly, but wanted to on a form. Got the same message that you did. If you look in the core in the form helper it dies before it processes any code. I'm guessing they haven't worked out the bugs yet. I would suggest if you want to use bu

How to create button in layout with ***Helper in CakePHP 1.2.0.5875-pre-beta

2007-10-25 Thread senser
Tonight I upgraded CakePHP to latest release - 1.2.0.5875-pre-beta ana all buttons in layouts of my currently developed application went away Untill now I used htmlHelpe to create buttons (because formHelper says: "Don't use me yet") with this code: print $html->input('CustomerDetail.id', array('t