config/alchemy/page_layouts.yml in alchemy_cms-2.1.beta1 vs config/alchemy/page_layouts.yml in alchemy_cms-2.1.beta5
- old
+ new
@@ -6,10 +6,11 @@
# - name: String # The name of the layout used for views and inside the database. You can render a layout with the render_page_layout(name) helper.
# unique: Bool # Pass true and the user can only choose this layout once inside a language tree.
# hide: Bool # Pass true to hide this layout from the user.
# elements: Array # A list of element names that can be placed on this layout i.e. [text, picture]. Elements are defined inside the elements.yml file.
# autogenerate: Array # A list of element names that are autogenerated after creating the Page.
+# searchresults: Bool # Pass true to enable rendering the searchresults of the fulltext-search.
# layoutpage: Bool # Layoutpages are outside the normal pagetree and can be used to place "global" language independent Elements.
# cache: Bool # Pass false to disable the caching for this pages.
# feed: Bool # Pass true to enable a RSS feed of news elements from this page.
# redirects_to_external: Bool # Pass true to disable normal page rendering and redirect to a external page instead.
# controller: controller_name # Controller to use instead of the default PagesController
@@ -52,9 +53,10 @@
- name: search
unique: true
cache: false
elements: [headline, text, searchresult]
autogenerate: [searchresult]
+ searchresults: true
- name: layout_header
unique: true
layoutpage: true
elements: [sitename, header]