| 檢視:
|
主題清單, 主題摘要
|
1 - 10 個主題 (共 15781 個) 較舊 »
|
您暫時不可以留言。只有會員才能在此留言,而您目前還不是會員
群組簡介:
Search this group before posting anything. There are over 50,000 posts and it's very likely your question has already been answered.
Visit the IRC channel #cakephp at irc.freenode.net.
The group is moderated to prevent spam, so please be patient if you are new member.
|
|
|
Getting started: Where To Get Help
   
|
| |
[link]
Cheers,
AD
PS. If you've been on this group for more than a week or so, you may
have noticed that the google group pages/files have been/are in the
process of being removed. The pages have been integrated to the
cookbook to allow moderation, prevent spamming and take a step towards... 更多 »
|
|
Release: CakePHP RC3 - The RC of Triumph!
   
|
| |
It's finally here: the final release before the final release of
CakePHP 1.2, and I just want to say how thrilled I am. This release,
possibly more than any other in the history of the project, has truly
been a team effort. Everyone has really come together to make this a
great release, and I just can't say how proud and happy I am of the... 更多 »
|
|
Behavior can create new records but fails to update.
|
| |
I have been going straight with this one for a few hours now and I'm
stumped.
Usually from a controller you can just call $this->Model->read, and
then $this->Model->save to update any values changed inbetween.
When I try the same from my Behavior it fails to update the record.
If I eliminate the read and just make up some valued it will however... 更多 »
|
|
Custom queries/sql in models/behaviors
|
| |
Ok in my current system (its a gaming league) I have packages. I will
use a Team package as an example. In this Team package I have a method
getTeamInfo() which calls out to external queries. I do this so I only
have to write a query once and can access its results through a method
call. I prefer this way instead of having to write the same query over... 更多 »
|
|
Issue with delete function.
|
| |
Hi all, im new to cakephp and built a basic content manage system with
it. Now for some reason i seem to have a weird bug with my delete
function in the administration.
I can manage products with the system i have. And the products have
galleries attached to them that hold images. Now what happens is once... 更多 »
|
|
Need help with model class extensions + behavior
|
| |
Hello
app\App_Model.php
<?php
class AppModel extends Model {
var $actAs = array("My");
function beforeSave() { }
}
?>
app\models\behaviors\My.php
<?php
class MyBehavior extends ModelBehavior {
function beforeSave() { }
}
?>
app\models\Track.php... 更多 »
|
|
Custom Query Pagination
|
| |
Hi all,
I have used a custom query with group by in pagination.
I got the the grouped output, but the record count is different (i.e.
I am getting the record-count as the total number of records without
grouping).
The format I have used for pagination is:
$this->paginate['Model'] =
array(... 更多 »
|
|
deep e-mail and zip code validation seem to be quirky
|
| |
On my website we have lots of listings, like a directory, and many of
them include e-mails. Sometimes the deep e-mail validation will reject
an e-mail that we know is legit. I've had it reject an e-mail address
and then I went on to send mail to that e-mail address successfully.
An example of an e-mail is he...@freecitymedia.com.... 更多 »
|
|
Blank screen with errors set to 2
|
| |
Hey all,
I am having issues with blank screens even with debug set to 2.
localhost/admin works but / does not.
Before I post any code, has anyone come across this problem before?
Many thanks
Alex
|
|
Form manipulation
|
| |
Hi All,
I am new to cakephp framework I am facing a problem I have some fields
in my form and when the data is posted by the user apart from that I
also need to store "users id" which is stored in session and the
"current date".
since these two fields I have not kept in the form controller is not... 更多 »
|
|
basics.php in CakePHP
|
| |
Hi Cake Bakers,
I happen to see the basics.php in CakePHP. Found some interesting and
very useful functions. Want to place a small note on it.
1. Basic units of time defined.
2. Functions related to array manipulations.
3. Functions related to string manipulations.
Can u use these functions instead of PHP's direct functions.... 更多 »
|
|
|
1 - 10 個主題 (共 15781 個)
« 較新
|
較舊 »
|
|
|