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
It sounds like you are wanting to render links for the site. I would
suggest making it an element and placing the html in /views/elements/
sitelinks.ctp
then you can use echo $this->renderElement('sitelinks'); in your
view where you want the links to show up.
On Oct 24, 4:16 pm, "David Coll"
I don't know which version you are using, but if you are using 1.2.*
the file needs to be named index.ctp in that folder
On Oct 25, 2:26 am, Thomas Armstrong <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I'm trying to create a simple sample to test CakePHP, and I'm
> following the steps from:http://graha
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
I would suggest trying to capture the event on the controller side and
process your data accordingly.
Perhaps you should just put a checkbox on the form so the user can
select to "Delete" or "Flag" the application. Then you just need 1
submit button.
--~--~-~--~~~--
It sounds like the way you have your current website setup is not
going to work for the way Cake works. Cake is geared more towards the
Model, Controller, View approach which gives you a controller with
specific functions and models associated to that controller. You may
want to take a look and
If you want a list of all authors, not just authors associated to that
lesson use:
$this->User->generateList(..); (fill in with what you had)
I'm assuming your controller has $uses = arra('Lessons', 'Users'); or
similar...
On Oct 12, 8:04 am, EVan <[EMAIL PROTECTED]> wrote:
> My applicati
There's nothing that says you have to name your field with the model/
field method. If you're concerned about this give it a different
name, but then you will need to parse the $this->data array and
restructure it if you intend to use $this->model->save($this->data);
I doubt this is efficient, es
t like the look of the extra space,
but it wasn't enough to bother with for me.
On Oct 3, 7:37 pm, "Jay Gilmore (smashingjay)" <[EMAIL PROTECTED]>
wrote:
> On Oct 3, 7:30 pm, Chambrln <[EMAIL PROTECTED]> wrote:
>
>
>
> > There is a ticket opened for this p
There is a ticket opened for this problem but it was converted to an
Enhancement instead of a bug and nothing appears to have been done
about it. If you use the HTML helper to set your DOCTYPE and want
your page to validate here is a workaround until this is fixed.
In your /cake/libs/view/helper
and demo servers are working fine having deleted all the .htaccess
> files. It's something I'll dig into in a bit more detail in another week
> or so, in the meantime any other pointers would be appreciated.
>
>
>
> Chambrln wrote:
> > I am currently using 1.2 with
I am currently using 1.2 with IIS as well. I do not have ISAPI
Rewrite configured for use at the moment and was having similar
problems.
There is a Constant defined in /app/config/core.php that you need to
uncomment on line 40 - define ('BASE_URL', env('SCRIPT_NAME'));
This basically tells cak
12 matches
Mail list logo