silverstripe-webpack/app/_config/options-elements.yml
2021-03-29 14:55:04 +07:00

107 lines
3.2 KiB
YAML

---
Name: webapp-options-elements
After:
- elemental
- elemental-list
- elementalvirtual
- webapp-base-extensions
---
# User Forms module
DNADesign\ElementalUserForms\Model\ElementForm:
extensions:
- App\Elements\Extensions\UserDefinedFormExtension
SilverStripe\UserForms\Model\UserDefinedForm:
show_in_sitetree: false
can_be_root: false
extensions:
- App\Elements\Extensions\UserDefinedFormExtension
##################
Page:
searchable_elements:
- DNADesign\Elemental\Models\ElementContent
extensions:
- DNADesign\Elemental\Extensions\ElementalPageExtension
SilverStripe\CMS\Controllers\ContentController:
extensions:
- DNADesign\Elemental\Extensions\ElementalContentControllerExtension
- App\Elements\ElementalContentControllerExtension
url_handlers:
'element/$ID!': 'handleElement'
DNADesign\Elemental\Models\ElementalArea:
extensions:
#- DNADesign\Elemental\TopPage\DataExtension
- App\Elements\Extensions\ElementalArea
DNADesign\Elemental\Models\BaseElement:
default_global_elements: true
extensions:
#- DNADesign\Elemental\TopPage\DataExtension
- App\Elements\Extensions\BaseElementEx
- App\Elements\Extensions\ElementRows
SilverStripe\CMS\Model\SiteTree:
allowed_elements:
- DNADesign\ElementalList\Model\ElementList
- DNADesign\Elemental\Models\ElementContent
- DNADesign\ElementalUserForms\Model\ElementForm
- Dynamic\Elements\Image\Elements\ElementImage
- Dynamic\Elements\Blog\Elements\ElementBlogPosts
- Dynamic\Elements\Oembed\Elements\ElementOembed
- Dynamic\Elements\Elements\ElementTestimonials
#- App\Elements\TeamMembersElement
- App\Elements\SliderElement
- App\Elements\BlockElement
- App\Elements\MapElement
#- App\Elements\AccordionElement
- DNADesign\ElementalVirtual\Model\ElementVirtual
- App\Elements\AccordionElement
- App\Elements\CustomSnippetElement
- App\Elements\InstagramElement
DNADesign\ElementalList\Model\ElementList:
inline_editable: false
default_global_elements: false
extensions:
- App\Elements\ElementListExtension
allowed_elements:
- DNADesign\ElementalList\Model\ElementList
- DNADesign\Elemental\Models\ElementContent
- DNADesign\ElementalUserForms\Model\ElementForm
- Dynamic\Elements\Image\Elements\ElementImage
- Dynamic\Elements\Blog\Elements\ElementBlogPosts
- Dynamic\Elements\Oembed\Elements\ElementOembed
- Dynamic\Elements\Elements\ElementTestimonials
#- App\Elements\TeamMembersElement
- App\Elements\SliderElement
- App\Elements\BlockElement
- App\Elements\MapElement
- App\Elements\AccordionElement
- App\Elements\CustomSnippetElement
- App\Elements\InstagramElement
styles:
whiteframe: 'White Frame'
noframe: 'No Frame'
App\Elements\AccordionElement:
allowed_elements:
- DNADesign\Elemental\Models\ElementContent
DNADesign\Elemental\Models\ElementContent:
default_global_elements: false
inline_editable: false
extensions:
- App\Elements\Extensions\ElementContentWidget
frontend_searchable_fields:
- 'Title:PartialMatch'
- 'HTML:PartialMatch'
Dynamic\Elements\Image\Elements\ElementImage:
inline_editable: false
extensions:
- App\Elements\Extensions\ElementImageWidget