cakephp-1.3
using a component in a plugin and calling method
I am new to cake php and I have a plugin folder in my application app/plugins in plugin folder I have model and vendors folder. (Notice I dont have any view or controller folder)[详细]
2023-03-27 11:02 分类:问答CakePHP HABTM find all records that have associated records
I have a model - \"Category\" which HABTM \"Blog\".I need to create a query that will only select categories that have more zero blogs associated with them.I\'m having t开发者_高级运维rouble working o[详细]
2023-03-27 07:33 分类:问答Using an associated models columns for virtualFields?
I have a User model and an Order model. User hasMany Order. The orders table has a user_id column as well as a total column.[详细]
2023-03-26 23:24 分类:问答Does CakePHP need a model to do pagination?
I have a few Controllers that work with content from Json files. I was wondering if Cakephp could help me paginate them.[详细]
2023-03-26 23:19 分类:问答Using username instead of email in CakePHP's Auth Component
Using CakePHP\'s Auth Component, how do I allow users to authenticate by using either their \"use开发者_StackOverflowrname\" or \"email\" field as a username, and a \"pass\" field as their password?wh[详细]
2023-03-26 21:59 分类:问答Building a search form with CakePHP?
I\'m building a web application in CakePHP. I\'m using the Paginator object to render a datagrid table with sorting options. However, the data I want feeding the table should be data returned from a s[详细]
2023-03-26 17:27 分类:问答Load model or $uses array which need to be used ? while we accessing other models
I have a users controllers, I need to use photos model on that users_controllers which can i use to access that model from the following and which is standard to use?[详细]
2023-03-26 13:33 分类:问答Poll form (view) creates security errors in CakePHP
I am writing a simple poll for Cakephp. I have created tables polls and poll_votes. Poll contains 7 columns: id,question,numberofanswers,answer1,answer2,answer3,answer4. PollVote contains 4: id,poll_i[详细]
2023-03-26 09:40 分类:问答CakePHP: ID hungriness drives me nuts
For data integrity reasons, I try to populate a ultra simple dropdown \'Countries\' in my开发者_StackOverflow社区 users/register[详细]
2023-03-26 03:04 分类:问答CakePHP HTTPS Secure payment form
Using CakePHP 1.3 we have a booking system for hotel rooms. A check-availabili开发者_Go百科ty form should bring the user to a secure payment page (https://secure.domain.com/bookings/payment). After ma[详细]
2023-03-25 23:48 分类:问答