On Aug 24, 2006, at 1:08 PM, eDevil wrote:

>
>> You might try using routes to play with URLs rather than class names.
> That's a good idea. Any idea how I might do that?

http://manual.cakephp.org/chapter/configuration

Section 3: Routes Configuration

I'd start there.

>> What does your PublisherController look like? What's on line 29?
> This is my line 29:
> $this->set('data',$this->Post->findAll());

Whoops. Your Post model isn't available to a PublisherController by  
default (though it would for a PostsController).

add this:

var $uses = array('Post');

In your controller to have access to that model.

-- John

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to