All Questions

RSS

1 answer

0 votes

Asked by blacksymmetry, 6 hours, 53 minutes ago in Helpers

JS confirm to html->image-> link

Hello I would like to ask, how can I insert JS confirm to image as link ?


	<?php echo $html->image("delete.png", array(
    "alt" => "Brownies",
    'url' => array('controller' => 'messages', 'action' => 'delete',$value['Message']['ID']),
	...

1 answer

0 votes

Asked by Matt, 10 hours, 10 minutes ago in Installation / Configuration

Using on IIS with no url rewrite

Hi, I've been evaluating CakePHP for a couple of days and have done the two tutorials. I ran them on IIS with the Helicon ISAPI_rewrite Lite module and everything work well. As part of my learning process I would like to get Cake running on IIS...

1 answer

0 votes

Asked by jamesl, 12 hours, 40 minutes ago in Models

jpgraph

Hi i'm using jpgraph to display some data in a report. It works fine while the data array is set specifically by me:

$datay=array(2000,3000,5000);

$this-set('datay', $datay);

but what i need to do is set $datay as some query data located in another...

2 answers

0 votes

Asked by miko, 12 hours, 52 minutes ago in Models

How Validation works?

Hi,

I'm a newbie... just started using cake ... so far:

- Installed in Ubuntu --- OK

- Apache/MySql/PHP ---- OK

- trying to follow a tutorial and something is wrong with validations adding records.

This is my code:

<?php

class Articles extends...

1 answer

0 votes

Asked by dimis283, 13 hours, 46 minutes ago in Models

userialize hidden field

I have a hidden field at a form that has a serialized array

<input name="data[Machine][data]"...

0 answers

0 votes

Asked by shamun, 16 hours, 24 minutes ago in CakeQS

[Cakephp] - Future.

Hi,

Personally i was trying to say that i will not use anything without cakephp. But in the market/arguments/complains etc agains cakephp is very rude.

1. Zend framework if i ask cakephp, they mention zend/symfony

- they are supposed to be the god...

1 answer

0 votes

Asked by monni, 21 hours, 55 minutes ago in Models

Model relations

Shouldn't this $this-Model1-Model2-Model3-find("da_crap"); work if hasMany and belongsTo relations are correctly set? That's not actually my problem but I believe it's related as I would like to saveAll hueg object containing data for various...

1 answer

0 votes

Asked by christiand, 1 day, 1 hour ago in Models

Cake is erasing HABTM relationships when updating model

In the spirit of cake..

Recipe HABTM Tags

Tag HABTM Recipes

Tag BelongsTo Image

I want an Image attached to every Tag.

In the images_controller, I save the image, then key the offer to try and make the association

$tag['Tag']['id'] =...

1 answer

0 votes

Asked by ryantxr, 1 day, 5 hours ago in Controllers

Is there a way to redirect to a form and auto populate fields?

Is there a way to redirect to a page with a form an auto populate the fields on that form with some values? I came up with three solutions.

1. Store the values in the session. Both pages are within my app so this would work. However, if a user...

1 answer

0 votes

Asked by dlink, 1 day, 7 hours ago in Installation / Configuration

What is redirecting URL?

Hi,

I have cloned a site from a live system to a development system. But when I bring it up in a browser I get redirected to the live site.

If I stick text in at the beginning of app/webroot/index.php I an not redirected.

What is causing that?

I...

<< previous 1   2   3   4   5   6   7   8   9

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.