I was afraid of that... I've read some other reply's by you in another
thread, and based on that, I was already expecting that this could not
be done. Would be great functionality though.
On Feb 6, 10:37 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Feb 6, 10:23 am, Bo-oz <[E
Hi,
I'm Using CakePHP 1.19. I have a menu table with the following fields:
- id
- parent_id
- name
- link
For sorting purposes, I would like the menu to show ordered by Name
ASC.
When I use:
$this->Menu->findAllThreaded('','','name ASC');
The resulting array only contains siblings with a na
It's 1.19 btw... but think that won't mather much.
On Feb 6, 10:16 am, Bo-oz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to enrich a model with data from another model. However
> they are not directly related. The value that needs to be fetched from
> the ot
Hi,
I would like to enrich a model with data from another model. However
they are not directly related. The value that needs to be fetched from
the other model lies within a certain time-range.
I've searched the groups and have found that you should be able to
indicate that the foreignKey = fals
thx :)
On Feb 4, 4:55 pm, grigri <[EMAIL PROTECTED]> wrote:
> Search for the 'Soft Deletable' behavior by Mariano Iglesias. It's on
> the bakery, and also on his Cake Syrup website.
>
> On Feb 4, 3:12 pm, Bo-oz <[EMAIL PROTECTED]> wrote:
>
> > H
Hi,
I'm using a datamodel in which I do not want records to be actually
deleted. All I want is that a flag is set that the record has been
marked for deletion.
therefor I am using a beforeDelete() filter that saves the field of
the current record like this:
Model->saveField('delete',true);
r
Works like a charm!
care to elaborate?
thanks adam.
On Jan 30, 3:08 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> Try this:
>
> $Route->connect('/'.CAKE_ADMIN, array('controller' => 'products',
> 'action'
> => 'index
Hi I've defined the CAKE_ADMIN line in /app/config/core.php
this works great.
Only calling: http://domain.com/admin resolves in a error that the
controller was not defined. Therefor I've tried to define a new route:
$Route->connect('/admin', array('controller' => 'products', 'action'
=> 'index'
Added my site.
http://www.iamin.com
thanks... happy baking.
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--~~
You received this messag