New Page Type - Theme layout always defaultCreated 6 years ago by kiltedup
I had created a new Page Type and added a bunch of pages. The page type was using 'default' theme layout. I then added a new theme layout and updated the page type to use that layout. However, the pages using that type are still using the 'default' layout.
Does anyone know what needs to be done to get the correct theme to load in this scenario.
Is it a clear cache or clear compiled or something similar?
Many thanks in advance
The pages AND types both have a
theme_layoutfield. That way you don't need to make new types just to change the layout. Chances are all your pages also have default set. So updating those should fix that.
In the meanwhile.. Ill open up an issue because really I think it would be best if the
NULLunless otherwise changed. So it can fallback to the type's value.