1 answer
0 votes
remove HREF from Anchor Tag
I want to use an onClick function with no hyperlink.
For Example,
$html-link('link title', 'http://example.com', array('onclick' = "alert('hello world');"));
The above code will output as follows :
<a href="http://example.com" onClick="alert('hello...
2 answers
0 votes
How to insert the current date in the database, while it is a hidden field for the user
Hello,
I am creating a form, which enters some data in a table. I want to have a field in the table with the submission date. However, I do not want the user to enter the date. I just want to take the current date and store it in the table.
I have...
0 answers
0 votes
HABTM in one FORM
Hi
I'm a beginner in cakephp and I have a problem with save HABTM relationship, probably is a simple solution, but I have been looking in forums with no luck.
So this is my problem.
I want to add a day in a schedule. I want to create the Schedule...
1 answer
0 votes
Create span in link in cakephp
can any body say what is the equivalent code for the following in cake php style.
<a class="tooltip" href="#">
Tooltip
<span>This is the crazy little Easy Tooltip Text.
</a>
Please help me....
Thx
0 answers
0 votes
Login Loop using ACL
Hi everybody,
I'm quite new to CakePHP and I followed the official ACL tutorial: http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application. Everything works fine.
In addition to this tutorial I want to add an explicit "Login" link. So, I...
0 answers
0 votes
Creating related content on creation
I am new to cake php but used to be a dbase programmer then took 15 years off and am coming back to database development.
I have two related databases matches and boxes. Boxes "has many" Matches. What is the best way when I create a new "Box" I...
1 answer
0 votes
Alax send not $this->data
Hello, i have an Ajax form and call the right function, but doesn't send any data,
Example:
<?php
echo $ajax->form('Product','post',array('url' => 'add' ,'update'=>'productsDiv');
echo $form->input('name');
echo $form->end('Submit');
?>
the add...
0 answers
0 votes
How to update div in other view page from different view page?
Hi all,
I am using Ajax link to update div in my view page. Example : I have 2 ctp file say view1.ctp and view2.ctp, I want to update the div in the view1.ctp using the ajax call in view2.ctp. Can anybody give me the hint to resolve this...
0 answers
0 votes
Best way to render/load dependent fields using AJAX
Hi there,
What would be the best way to load and unload dependent field.
For an instance, I have 3 fields on the form: class, division, section.
If my class is A or B, then I also need to fill up division and section.
Assume that class is a dropdown...
0 answers
0 votes
CakePHP on JBOSS Web
Hi All,
Does anybody has prior experience on installation and configuration of CakePHP on JBOSS AS 6?
JBOSS AS 6 supports running PHP scripts using its own php5servel.tar.gz package. But there is no provision to edit php.ini. We are facing issues...
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.







