I am trying to create a new page in a module, similar to the way it is possible in a skin.
WHERE I AM STUCK:
I think I understand that I need to use an index.php view pointed to the tpl file in the module. So I have a template "alabama-plumbers.tpl" in my custom module.
Here is my function in the index.php in the module:
function view_pcTradesPlumbers_alabama_plumbers($_post, $_user, $_conf)
{
return jrCore_parse_template('alabama-plumbers.tpl', $_rep, 'pcTradesPlumbers');
}
PROBLEM: I am getting a "page not found"
OTHER INFO:
I am using a module URL (for SEO) of, "residential-commercial-plumbers"
Here is the link to my dev site URL that I am trying to get to work:
https://dev.patriaco.net/residential-commercial-plumbers/alabama-plumbers
--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
updated by @the-patria-company: 01/18/19 07:20:32AM