Re: Paginator issue resolved: Incorrect documentation

2011-12-13 Thread aries
Yeah I figured what the hey, this is a great opp to give documentation editing a whirl. Only thing is that it's a bit of a serious overhaul, not terrible, but will take some time to rewrite the necessary contents. I'd certainly like to help, though, so will get on this asap. Thanks, -Brian On

Paginator issue

2011-12-12 Thread aries
Hi, I'm trying to directly modify the $paginate property within a controller action but doing so is not having any effect on the find operation. ArticleController has: public $paginate = array(); public function reporter_index() { $this-paginate['conditions'] =

Re: Paginator issue

2011-12-12 Thread aries
= array(                         'recursive' = 0,                         'conditions' = array('Article.reporter_id' = 1)             );    $this-set('articles', $this-paginate()); Andras Kende On Dec 12, 2011, at 1:15 PM, aries wrote: Hi, I'm trying to directly modify

Paginator issue resolved: Incorrect documentation

2011-12-12 Thread aries
Hi again, Here's what I found out. Looking at the main Controller class in lib/ Cake/Controller, the phpdoc for the method paginate() says: @deprecated Use PaginatorComponent instead So, I changed my code to read: $this-Paginator-settings = array( 'recursive' = 0, 'conditions' =

Re: Cake 2.0 documentation

2011-12-08 Thread aries
Got it. What I'm hungering for is an easier way to submit changes and/ or supplementation. A sticky guide as you suggest would help. I hasten to add that I think the documentation is very well written. I usually find what I'm looking for, even if it takes some time to find it. Best, -Brian On

Re: Cake 2.0 documentation

2011-12-07 Thread aries
: On Dec 6, 11:34 pm, aries br...@allemana.com wrote: Hi, I'm not sure if this is the right place to post my comments, but I'm unable to find a more appropriate venue. Feel free to redirect me. Unlike previous versions, the 2.0 documentation lacks heading links within the TOC

Re: Cake 2.0 Virtual Fields

2011-12-06 Thread aries
Hey that works too, and is more elegant. Thanks for the suggestion! On Dec 5, 4:52 pm, euromark dereurom...@googlemail.com wrote: ah thats what you mean did you try setting $displayField of that model to name? that should also work On 5 Dez., 19:04, aries br...@allemana.com wrote

Cake 2.0 documentation

2011-12-06 Thread aries
Hi, I'm not sure if this is the right place to post my comments, but I'm unable to find a more appropriate venue. Feel free to redirect me. Unlike previous versions, the 2.0 documentation lacks heading links within the TOC. It used to be that when viewing a particular topic you could access

Re: Cake 2.0 Virtual Fields

2011-12-05 Thread aries
with the key name. and then it should be available with $result['Reporter']['name'] since name and title have a special meaning (auto-displayField fields) it might also be related to this. did you try to use full_name as key to eliminate that cause yet? On 3 Dez., 21:21, aries br

Re: Cake 2.0 Virtual Fields

2011-12-05 Thread aries
Solution: In the Regions controller, I have to specify the find fields, viz: $reporters = $this-Region-Reporter-find('list', array('fields' = array('id', 'name'))); Thanks, -Brian On Dec 5, 11:45 am, aries br...@allemana.com wrote: Hi there, Thanks for your response. I should have clarified

Cake 2.0 Virtual Fields

2011-12-03 Thread aries
Hello, I'm trying to use virtual fields with Cake 2.0 and am running into a problem. I'm trying to populate a select input with values from a table that has no `name` field. I'm setting a virtual field called `name` with the first_name and last_name fields, but the menu is not populating

Null date fields in scaffolding

2010-09-03 Thread aries
or is there something I'm missing? Thanks, -aries Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake