FUEL CMS Forum
It looks like you're new here. If you want to get involved, click one of these buttons!
FUEL CMS News
News & Announcements
Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.
[SOLVED] Can't find model
edited December 2010
I'm trying to make work the $foreign_keys property
Here is my problem
As you can see on the screenshot, when commented, i can properly see my quiz details
When I set the $foreign_keys property, suddenly he can't find the categories model, but as you can see in the tree of my files on the left, the file is there...
What am i missing ?
Because it exists in a module folder, the value for the foreign key needs to be an array with the key being the name of the folder. For example, something like this:
public $foreign_keys = array('category_id' => array('quiz' => 'quiz_categories_model'));
Here is another thread that mentions this as well:
Forum Software Powered by Vanilla