Jump to content


Staff Alumni
  • Posts

  • Joined

  • Last visited

About jcombs_31

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling
  • Location

jcombs_31's Achievements

Advanced Member

Advanced Member (4/5)



  1. What if you concat first and lastname?
  2. Did you modify the index.php? http://book.cakephp.org/1.3/en/view/915/Advanced-Installation
  3. If you are calling this from your bookings controller and it is associated with your payments, you need to properly link. $this->Booking->Payment->payMethodAll
  4. Use between. http://book.cakephp.org/1.3/en/view/1030/Complex-Find-Conditions
  5. You have a Auth->deny on everything and also calling parent::isAuthorized which gives no indication of what is in parent or why you'd want to do this. Not sure why you are over complicating things. Just use the examples the cookbook gives you.
  6. Can you please show your table descriptions. E.g., "Describe table users", "Describe table pages" FYI, you can use the bake console utility to create your basic models, controllers, views as long as your DB uses the cake conventions.
  7. $this->params['url'] http://book.cakephp.org/1.3/view/963/The-Parameters-Attribute-params
  8. I don't fully understand your question, but perhaps you are thinking of elements. http://book.cakephp.org/1.3/view/1081/Elements
  9. Didn't realized there is a simple highlight_file function. That makes life pretty easy.
  10. Are there any good web based source code viewers that you can just point to a directory and show read-only source code?
  11. CakePHP does the magic on the backend if models are properly linked. http://book.cakephp.org/1.3/en/view/1017/Retrieving-Your-Data
  12. If models are properly linked you can make references from another controller. Like $this->Pet->Dog->function() You can also use $uses. This would be typical of something like a dashboard controller that you need to access multiple models.
  13. Did you read the cookbook? http://book.cakephp.org/view/1437/css. <code> <?php $this->Html->css(array('forms','myplugin/css/forms'),'stylesheet', array('inline' => false ) ); ?> </code>
  14. Change var $layout = "modal_box"; to $this->layout = "modal_box";
  15. The whole point in the left join is to return all records from the left table regardless of a match on the right table. I want to query only specific employees, not all employees. I've tried adding the to the ON, and I ALWAYS get all employees. My understanding is that you'd use the ON clause for any condition that is not on the left table.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.