Removed hardcoded layout name options array from layout select fields in page forms.
Added layout name parsing and page layout select field options array with names in page forms.
Added example layout names in demo themes.
Layout name can be added by adding @Layout name: *chosen name* attribute to layout PHP file. This can either be done with PHP <?php // @Layout name: *chosen name* ?> or HTML <!-- @Layout name: *chosen name* -->. Need to remember that HTML way shows the layout name to public in rendered website DOM.
Layout PHP files with underscore still ignored as being partials like in previous ImpressPages versions.
Removed hardcoded layout name options array from layout select fields in page forms. Added layout name parsing and page layout select field options array with names in page forms. Added example layout names in demo themes.
Layout name can be added by adding
@Layout name: *chosen name*
attribute to layout PHP file. This can either be done with PHP<?php // @Layout name: *chosen name* ?>
or HTML<!-- @Layout name: *chosen name* -->
. Need to remember that HTML way shows the layout name to public in rendered website DOM.Layout PHP files with underscore still ignored as being partials like in previous ImpressPages versions.