otisjs01
Questions Asked
0 answers
Email Component Troubles...
I recently posted a question about the CakePHP email component, and, with the help of some of...
1 answer
How do I use the email component?
Hello,
I am new to CakePHP and trying desperately to learn!
My most recent struggle is with the...
1 answer
How do I pass named parameters?
Hello, I am new to CakePHP and trying to learn! Sorry if my question seems simple to answer, but...
Answers
There no answers yet.
Comments
- Member since:
- December 20th, 2009
- Last active:
- 2010-01-08 04:14:01
- Questions asked:
- 6
- Answers:
- 0
- Correct Answers:
- 0
- Comments:
- 4
Nested Model
Hmm...I think that might work. A couple of questions (I'm extremely new to CakePHP): It looks like this is how I retrieve the parameter...how do I pass the named parameter in the first place? How do I build links like this? Thanks, JeremiahHow to auto-populate dependent habtm select boxes using ajax...
OK...I will be honest. I'm extremely new to CakePHP! I've made the modifications you listed above, but I don't think I have put all the code in the correct places. I put everything in the Add function of my Contracts Controller. Is this right?...How to auto-populate dependent habtm select boxes using ajax...
Hmm...this actually looks good. I didn't think of modeling the users and contracts in that manner. I will start making the changes right away, and let you know how it turns out! Thanks for the quick reply! :)How do I pass a variable between views?
I solved it! I set the CompaniesController index() function to: {{{ function index() { $this-set('companies', $this-Company-find('all')); } }}} I made the following changes to the UsersController add() function: {{{ // added...