New item details not showing
Jamroom Developers
The problem here is that you are only handling 1 condition in your "default" profile view. When a module has a profile.php file, then ALL requests for that module in a profile - i.e.
yoursite.com/profile_url/module/*
are going to be routed through your "default" view.
So in your view here you need to check to see if $_post['_1'] is numeric - if it is, you need to show the item_detail.tpl file instead of item_list.tpl - i.e.
if isset($_post['_1']) && jrCore_checktype($_post['_1'], 'number_nz')) {
$_it = jrCore_db_get_item('ModuleDir', $_post['_1']);
return jrCore_parse_template('item_detail.tpl', $_it, 'ModuleDir');
}
else {
.. what you already have ...
}
Hope this helps!