I get an error when configuring the components of the config files, and tried to call it in view.
This code is contained in the config files (main.php) :
'components'=>array(
'shopingCart'=>array(
'class'=>'ext.shoppingCart.EShoppingCart',
),
and this code in view :
<?php $this->Widget('shopingCart',array()); ?>
then when I run it appears an error like this:
YiiBase::include(shopingCart.php) [<a href='yiibase.include'>yiibase.include</a>]: failed to open stream: No such file or directory
What should I fix the code that I created.
or if there is a link for this example, I am very happy.
thank you