1 answer
0 votes
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
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
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
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
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
[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
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
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
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
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...
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.
