I have combined the two words in the controller file name, because
time is of the essence. However, I do plan to investigate the
routes.php solution you both have provided (thank you very much!). My
concern with combining the two, although it works just fine, is that
it is not proper use of conv
Thinking more on it, you can rename your controller:
Newproducts_Controller extends App_Controller
{
var $name = 'Newproducts';
var $uses = array('New_product');
// your stuff
}
On Oct 4, 11:28 pm, dardosordi <[EMAIL PROTECTED]> wrote:
> I think you can do
>
> Router::connect('/newpr
I think you can do
Router::connect('/newproduct/:action', array('controller' =>
'new_product' ));
On Oct 4, 4:56 pm, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> You should be able to do this in your routes.php file...
>
> Router::connect('/newproduct/[action1]', array('controller' =>
> 'new_produ
You should be able to do this in your routes.php file...
Router::connect('/newproduct/[action1]', array('controller' =>
'new_product', 'action' => '[action1]'));
Substitute view, add, delete etc as appropriate for [action1]. You
will need 1 row in the file for each action in your controller.
Wa
Hello,
Not sure how to explain this best, so I'll try my best to break down
what is probably a simple issue.
database is 'new_products'
controller is 'new_products_controller'
model is 'new_product'
Everything works fine at www.domain.com/new_product, but I wish to
access this by visiting http: