0 answers
-1 votes
Prototype.js Ajax submit is not working in Safari..
Ajax submit is not working in Safari
This is code:
$ajax->submit('Submit',array("class"=>"btnSaveForum")
);
Thanks
in advance
0 answers
0 votes
Using Controller tests to find warnings
I'm doing some refactoring that affect all controllers and wanted to make sure I covered everything by looking at my controller tests and watching for errors and warnings raised with trigger_error. The problem comes that when I run a test that is...
2 answers
0 votes
how to start
Hi community,
just having a first contact to cake.
I tried an example from a magazin and cannot get it startet.
I extracted the cakePHP files to //localhost/test/ in a way, that the folder /app/ appears directly under ...test/...
/test/index.php in...
1 answer
-6 votes
i want ajax shoping cart-source code
i want ajax shoping cart-source code
1 answer
0 votes
Accessing my variables
echo $html->link( "SOME TEXT" , array('controller'=>'modules', 'action'=>'grade', $varOne,$VarTwo), array('class'=>'button'));
Hi i am trying to pass two variables to my controller when my user clicks a link.
Is that possible?
usually when i put a...
2 answers
0 votes
Custom Form validation with fields in array
This is my form: I want to make sure that all the fields are properly validated and how do I validate since the fields are in array.
<input id=“Friend0Name” name=”data[Friend][0][name]”
<input id=“Friend1Name” name=”data[Friend][1][name]”
<input...
2 answers
0 votes
Create 'most read' panel
Hi,
I'm new to cakePHP (and the MVC model as implemented) and have been tasked with supporting a cakePHP site.
Our client would like a 'most read' box listing the top 5 articles that have been read on their website.
I'm thinking that the easiest way...
1 answer
0 votes
cakephp vendors -help me
i need use cakephp vendors
please help me
my code:
App::import('Vendor', 'jcart/jcart');
$cart =$this-Session-read('jcart'); if(!is_object($cart)) $cart = new jcart();
this code work fine. but i need use
this: <?php $cart-display_cart($jcart);?
in some...
1 answer
0 votes
How to add relation from friend_id to User.id ?
Hello,
I would like to ask, how can i manually make relationship between column
friend_id to User.id.
I need to get information about user with ID ,which is presented in column friend_id.
Thanks very much for any advice.
2 answers
0 votes
error reading tables
I create a cakephp application with existing tables but I have the error
Error: Database table CUSTOMERS for model Customer was not found.
Warning (2): mysql_query() [function.mysql-query]: Unable to save result set...
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.
