My bad, there was a component calling:
$this->Cart = ClassRegistry::init('Cart');
Changed to $this->Cart = ClassRegistry::init('ShopCart'); and no more
errors.
Dave
From: Advantage+ [mailto:[email protected]]
Sent: Tuesday, February 12, 2013 9:27 PM
To: [email protected]
Subject: Plugin Ignores var $tablePrefix =
Out of curiosity and to organize the tables in the database I want to prefix
model tables based on the plugin, so my ShoppingManager plugin models will
be shop_{model name} (shop_cart, shop_orders, shop_order_items)
In my carts.php model:
var $tablePrefix = 'shop_'; But all I get is the Missing Database table
error.
The shopping_manger works up to the point where I am trying to prefix the
table name.
Where am I going wrong?
Thanks,
Dave
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.