In order to create a proper link with HtmlHelper, you'd need to do:
echo $html->link(
'whatever',
array(
'controller' => 'posts',
'action' => 'category_view',
'username' => $user_name,
'categoryslug' => $category_slug
hi there,
i am building blog platform where users can have blogs with cakephp. i
have Posts controller.
i have defined following route:
Router::connect(
'/blog/:username/category/:categoryslug',
array('controller' => 'posts', 'action' => 'category_view'),
I'm novice.
I have read all about route and pagination.
I Have 2 simple(?) case about it.
In my home page i have a product list. Generated link of HTMLHelper
pagination was
http://mysite/page:2 (where 2 is a page n°2) but clicking on it don't
work properly (error 404).
If I manually digit http://