We have an interesting issue here where we’ve created a small addon that just runs admin side. Let’s call it addon xyz:
/addons/xyz/addon.xml
/addons/xyz/func.php
/addons/xyz/init.php
all exist and we have a controller for the admin side here:
/addons/xyz/controllers/admin/xyz.php
Now under skins we have the following:
/skins/basic/admin/addons/xyz/views/xyz/add.tpl
When we access a link such as:
[url]http://www.ourstore.com/admin.php?dispatch=xyz.add[/url]
We get 404 errors. Renaming the file to add_item.tpl does not fix the issue when accessing via the new link: [url]http://www.ourstore.com/admin.php?dispatch=xyz.add_item[/url]
I have no idea why it’s not outputting the content of the tpl file… We’ve also tried emptying the .tpl file to get a blank page to load and nothing works with that either.
We have also cleared the template cache and reloaded and still get a 404. No matter what we do the .tpl will not load at all. Does anyone know why?
We also have other tpl’s enabled which are working just fine:
/skins/basic/admin/addons/xyz/views/xyz/edit.tpl
/skins/basic/admin/addons/xyz/views/xyz/manage.tpl
both work fine from:
[url]http://www.ourstore.com/admin.php?dispatch=xyz.edit[/url]
[url]http://www.ourstore.com/admin.php?dispatch=xyz.manage[/url]
So it’s not the addon itself. Any help would be appreciated.