I am trying to make the default home page route to certain category by default.
in my routes.php file I have re-routed the publish new action to the home page, as I want the post an ad form to be the home page, but I keep encountering errors when trying to add the query string "?category=wanted-ads"
My goal is I'd like it to default to the form options that are part of the /publish-new.html?category=wanted-ads page.
Apologies for a simple question, I'm new to php and the kohana framework and I'm using the open classifieds script to create a classifieds site.
Thanks in advance.
URL::title(__('publish new'))
Route::set('post_new', URL::title(__('publish new')).'.html')
->defaults(array(
'controller' => 'new',
'action' => 'index',
));