contao/import — Issue #2716: Custom named templates in folders no longer recognized
Author: importer
Created: 2011-11-29 20:03:39+00:00
State: open
Labels: backend, Defect

The change here (http://dev.contao.org/issues/2494) disabled the ability for Page Layouts to recognize custom page templates that are in folders.

I cannot recreate this in the demo as we can't create folders/templates, but I have tested it across several systems including a fresh install, and here are instructions for recreating on your own system:

1. Create a folder within the 'templates' folder, place a custom version of a 'fe_page' template. Rename it to 'fe_page_newname'.
2. Edit the theme and select that folder as the templates folder for your theme.
3. Create a page layout and look for your new theme in the dropdown list. It will not be able to find it since we are not passing the theme id but the layout id instead.

--- _Originally created by winanscreative on December 3rd, 2010, at 08:16pm (ID 2716)_