Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
alengo_webspace_settings:
type_select:
- 'blocks'
- 'category'
- 'categories'
- 'collection'
- 'collections'
- 'contact'
- 'contacts'
- 'date'
- 'dateTime'
- 'event'
- 'media'
- 'medias'
- 'account'
- 'accounts'
- 'page'
- 'pages'
- 'snippet'
- 'snippets'
- 'string' # default type
- 'tags'
- 'time'
- 'textArea'
- 'textEditor'
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<properties xmlns="http://schemas.sulu.io/template/template"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd">

<block name="dataBlocks">
<types>
<type name="singleMediaSelection">
<meta>
<title>alengo_webspace_settings.media</title>
</meta>

<properties>
<property name="singleMediaSelection" type="single_media_selection">
<tag name="sulu.block_preview" priority="512"/>
</property>
</properties>
</type>
<type name="mediaSelection">
<meta>
<title>alengo_webspace_settings.medias</title>
</meta>

<properties>
<property name="mediaSelection" type="media_selection">
<tag name="sulu.block_preview" priority="512"/>
</property>
</properties>
</type>
<type name="textEditor">
<meta>
<title>alengo_webspace_settings.textEditor</title>
</meta>

<properties>
<property name="textEditor" type="text_editor">
<tag name="sulu.block_preview" priority="1024"/>
</property>
</properties>
</type>
</types>
</block>

</properties>
8 changes: 8 additions & 0 deletions alengo/alengo-webspace-settings-bundle/0.8/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"Alengo\\Bundle\\AlengoWebspaceSettingsBundle\\AlengoWebspaceSettingsBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
5 changes: 5 additions & 0 deletions alengo/alengo-webspace-settings-bundle/0.8/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* The <fg=green>AlengoWebspaceSettingsBundle</> for Sulu CMS is almost ready:
1. Configure your types in config/packages/alengo_webspace_settings.yaml
2. Configure your blocks if needed in config/templates/settings/webspace_settings_blocks.xml.

* <fg=blue>Read</> the documentation at <comment>https://github.com/alengodev/alengoWebspaceSettingsBundle/blob/main/README.md</>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
alengo_webspace_settings:
type_select:
- 'blocks'
- 'category'
- 'categories'
- 'checkbox'
- 'collection'
- 'collections'
- 'contact'
- 'contacts'
- 'date'
- 'dateTime'
- 'event'
- 'media'
- 'medias'
- 'account'
- 'accounts'
- 'page'
- 'pages'
- 'snippet'
- 'snippets'
- 'string' # default type
- 'tags'
- 'time'
- 'textArea'
- 'textEditor'
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<properties xmlns="http://schemas.sulu.io/template/template"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd">

<block name="dataBlocks">
<types>
<type name="singleMediaSelection">
<meta>
<title>alengo_webspace_settings.media</title>
</meta>

<properties>
<property name="singleMediaSelection" type="single_media_selection">
<tag name="sulu.block_preview" priority="512"/>
</property>
</properties>
</type>
<type name="mediaSelection">
<meta>
<title>alengo_webspace_settings.medias</title>
</meta>

<properties>
<property name="mediaSelection" type="media_selection">
<tag name="sulu.block_preview" priority="512"/>
</property>
</properties>
</type>
<type name="textEditor">
<meta>
<title>alengo_webspace_settings.textEditor</title>
</meta>

<properties>
<property name="textEditor" type="text_editor">
<tag name="sulu.block_preview" priority="1024"/>
</property>
</properties>
</type>
</types>
</block>

</properties>
8 changes: 8 additions & 0 deletions alengo/alengo-webspace-settings-bundle/0.9/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bundles": {
"Alengo\\Bundle\\AlengoWebspaceSettingsBundle\\AlengoWebspaceSettingsBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
5 changes: 5 additions & 0 deletions alengo/alengo-webspace-settings-bundle/0.9/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* The <fg=green>AlengoWebspaceSettingsBundle</> for Sulu CMS is almost ready:
1. Configure your types in config/packages/alengo_webspace_settings.yaml
2. Configure your blocks if needed in config/templates/settings/webspace_settings_blocks.xml.

* <fg=blue>Read</> the documentation at <comment>https://github.com/alengodev/alengoWebspaceSettingsBundle/blob/main/README.md</>
Loading