Loading page_not_found from within package theme

Permalink
Hi,

We are currently working on a new theme/package and are customising the single pages.

The issue we are having is our page_not_found single page is not being picked up.

Usually we just set the config/site_theme_paths.php like this:

$v->setThemeByPath('/page_not_found', "theme_name");


The only difference is that the theme folder is now in the '/packages' folder because it is installed as part of a package.

The page_not_found.php is in the top level single_pages folder.

Any change we make to the theme path to include the package name throws an error.

If we login and browse the single pages via the dashboard it appears there in the list but has no package associated with it.

Should it maybe have been installed as part of our theme package?

Any help appreciated.

Kind Regards,

Dojo DevTeam

senshidigital
View Replies:
enlil replied on at Permalink Reply
enlil
you should be able to drop it in your packagename/themes/themename/ folder and it should get picked up by the core.
senshidigital replied on at Permalink Reply
senshidigital
Hi,

After a fresh re-install we found it to be an .htaccess issue.

Dojo DevTeam