cakephp-1.3
Cakephp Media Plugin Attachments Table
I would like to use the cakephp media plugin (https://github.com/davidpersson/media by David Persson) to upload files and attach them to multiple models.[详细]
2023-04-05 00:07 分类:问答Uploadify & CakePHP - some uploads don't send any data to server
I\'m using Uploadify to handle uploads in my CakePHP app.Some uploads work fine Here\'s my javascript code:[详细]
2023-04-04 21:24 分类:问答Checking to see if entry exists before creating it still throws duplicate entry error
I have a table with the columns alias and item_id. Together this 2 fields create a unique index. Then I have some code that has an alias and an item id and want to update a record for it (or create a[详细]
2023-04-04 20:46 分类:问答CakePHP - how to insert new line / line break in Html helper hyperlink
Using the CakePHP Html helper, how does one go about inserting a line break in the anchor text? <?php echo $this->Html->link(\"My Anchor Text \\n with new line\", \'/mycontroller/myaction\'开[详细]
2023-04-04 08:50 分类:问答CakePHP question: How can i check whether there is an empty field or not after submitting form?
Suppose the email field is empty. Array ( [Comment] => Array ( [post_id] => 10 [name] => name6 [email] =>[详细]
2023-04-04 07:45 分类:问答Find on a model that's set as hasAndBelongsToMany
I\'m creating a clothing directory website wi开发者_如何学Cth CakePHP. I have two models: Store and Brand. Brand is set up as a hasAndBelongsToMany, as a store can have many brands associated with it,[详细]
2023-04-04 02:54 分类:问答CakePHP $this->element correct usage?
I\'m trying to make a reusable component (a weekday dropdown box, simple as pie) and 开发者_如何学JAVAam following the advice in http://book.cakephp.org/view/1081/Elements.[详细]
2023-04-04 02:30 分类:问答How to write Clean Code in Cakephp [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-03 23:31 分类:问答CakePHP executes method names as SQL queries
I am developing a CakePHP site locally. I created a User model that is used by the UsersController. Everything works fine on my box, but as soon as I check out the code on my host (WebFaction)CakePHP[详细]
2023-04-03 23:19 分类:问答cakePHP Auth - with allow/deny, what isAuthorized is actualley needed for?
Check this: function beforeFilter() { $this->Auth->authorize = \'controller\'; $this->Auth->allow(\'delete\');[详细]
2023-04-03 22:59 分类:问答