I'm not a CakePHP superuser but I try to stay clear of using
PagesController.
What happens if you create the views manually?

On a sidenote, when I have more than one Model that use Categories I
altered my Categories model like this:

CREATE TABLE `categories` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(45) NOT NULL,
  `description` text NOT NULL,
  `model` varchar(45) NOT NULL,
  PRIMARY KEY  (`id`)
);

Note the model field.

And then in the $belongsTo array in the models you add the 'condition'
=> "Category.model=".$this->name

Keeps the number of tables down. ;) Just an idea I had.

On 27 Juli, 06:14, Grant Cox <[EMAIL PROTECTED]> wrote:
> The only thing I can see wrong is that you have a model called Page,
> and a controller PagesController.  Cake already has an inbuilt
> PagesController which is used for displaying static pages.  I would
> have guessed that it wouldn't be a problem for you to define your own
> (instead of the default one), but perhaps that is part of the issue.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to