News module, 404 (fixed)... but now with a new question
I am following the pages/newsmodel tut.
Just copy pasted the code from the example and changed the table name.
Except from getting a 404 page when clicking "read full story" everything works perfectly.
I can read the list of news just fine. But if I add the slug to the URL I get the 404.
/news -works
/news/klas -404
http://docs.getfuelcms.com/general/pages-variables#newsDoes anyone have an ideas of what I've done wrong?
Comments
Tried to change it to auto, nothing seems to change. So now I am confused if it should be
$config['fuel_mode'] = AUTO;
$config['fuel_mode'] = "AUTO";
$config['fuel_mode'] = "auto";
or
$config['fuel_mode'] = auto;
I am still trying to fix this problem.
Can someone tell me which way is the correct way?
in the MY_fuel config file. the max page params was set to 0.
$config['max_page_params'] = 0;
changed it to
$config['max_page_params'] = 1;
and now it works
config['max_page_params'] = array('news' => 1);
Thanks for all the effort you put into answering posts.