ًWAW ... I haven't seen this FAQ before !!!
it's very nice ... danke
On May 10, 5:36 pm, the_woodsman <[EMAIL PROTECTED]> wrote:
> See the FAQ (http://groups.google.co.uk/group/cake-php/web/faq)
>
> section "How to display more views/blocks in a single page?"
>
> On 10 May, 13:35, koko <[EMAIL
See the FAQ (http://groups.google.co.uk/group/cake-php/web/faq)
section "How to display more views/blocks in a single page?"
On 10 May, 13:35, koko <[EMAIL PROTECTED]> wrote:
> I want to include many views into one view ...
>
> One big view contain many views (or actions)
>
> like a template ...
I want to include many views into one view ...
One big view contain many views (or actions)
like a template ... there exist a topic in book 1.2 about how to
template your email messages using set()
Yeah set is working well but I just wanted to see if anyone has
another way ,, but I think set()
I'm not sure what you mean by your last question, but what's wrong with
using set()?
On 5/10/08, koko <[EMAIL PROTECTED]> wrote:
>
>
>
> sorry I didn't mention that I'm using the latest 1.2.x from SVN
> (8/5/2208)
>
> anyway ... thanks very much ... but didn't find something like that
> anywhere
sorry I didn't mention that I'm using the latest 1.2.x from SVN
(8/5/2208)
anyway ... thanks very much ... but didn't find something like that
anywhere
I found how to pass a query
thanks very much
BTW... do you know how to set up a layout that contains many views (or
actions behind
> $this->set('post', $this->Post->findByCatid($catId));
> > }
>
> > this function return an array of results where the table field 'catid'
> > = $catId (the parameter)
>
> > what should i do to return only one result ordered by (table fie
this function return an array of results where the table field 'catid'
> = $catId (the parameter)
>
> what should i do to return only one result ordered by (table field) id
> desc, because I want only the one result with the last id (I want to
> use to show the last post from
do to return only one result ordered by (table field) id
desc, because I want only the one result with the last id (I want to
use to show the last post from many categories)
I mean something like that:
SELECT * FROM posts WHERE catid = $catId ORDER BY id DESC;
if I stick with this solution (give c