Skip to content

Commit

Permalink
[BUGFIX] Ensure constant editor shows selected option values
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Sep 27, 2021
1 parent b190186 commit b808d42
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Configuration/TypoScript/Static/constants.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ plugin {
postheader {
# cat=blog_post/110_blog_post_header; type=boolean; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.header.enable
enable = 1
# cat=blog_post/110_blog_post_header; type=options[simple, condensed, extended, modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
# cat=blog_post/110_blog_post_header; type=options[simple,condensed,extended,modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
modifier = simple
elements {
authors {
Expand Down Expand Up @@ -101,7 +101,7 @@ plugin {
postfooter {
# cat=blog_post/120_blog_post_footer; type=boolean; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.footer.enable
enable = 1
# cat=blog_post/120_blog_post_footer; type=options[simple, condensed, extended, modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
# cat=blog_post/120_blog_post_footer; type=options[simple,condensed,extended,modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
modifier = simple
elements {
authors {
Expand Down Expand Up @@ -137,7 +137,7 @@ plugin {
listheader {
# cat=blog_list/210_blog_list_element_header; type=boolean; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.header.enable
enable = 1
# cat=blog_list/210_blog_list_element_header; type=options[simple, condensed, extended, modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
# cat=blog_list/210_blog_list_element_header; type=options[simple,condensed,extended,modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
modifier = simple
elements {
authors {
Expand Down Expand Up @@ -173,7 +173,7 @@ plugin {
listfooter {
# cat=blog_list/220_blog_list_element_footer; type=boolean; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.footer.enable
enable = 1
# cat=blog_list/220_blog_list_element_footer; type=options[simple, condensed, extended, modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
# cat=blog_list/220_blog_list_element_footer; type=options[simple,condensed,extended,modern]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.meta.modifier
modifier = simple
elements {
authors {
Expand Down Expand Up @@ -337,7 +337,7 @@ plugin {
size = 72
# cat=blog/blog_150_authors; type=string; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.authors.avatar.provider.default
default = mm
# cat=blog/blog_150_authors; type=options[g, pg, r, x]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.authors.avatar.provider.rating
# cat=blog/blog_150_authors; type=options[g,pg,r,x]; label= LLL:EXT:blog/Resources/Private/Language/locallang.xlf:constantEditor.authors.avatar.provider.rating
rating = g
}
}
Expand Down
16 changes: 8 additions & 8 deletions Documentation/Configuration/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ Post Header
Property Type Default
========================================================================= =============================================== ===========
plugin.tx_blog.settings.meta.postheader.enable_ boolean 1
plugin.tx_blog.settings.meta.postheader.modifier_ options[simple, condensed, extended, modern] simple
plugin.tx_blog.settings.meta.postheader.modifier_ options[simple,condensed,extended,modern] simple
plugin.tx_blog.settings.meta.postheader.elements.authors.enable_ boolean 1
plugin.tx_blog.settings.meta.postheader.elements.authors.avatar.enable_ boolean 0
plugin.tx_blog.settings.meta.postheader.elements.authors.avatar.size_ int+ 20
Expand Down Expand Up @@ -1042,7 +1042,7 @@ plugin.tx_blog.settings.meta.postheader.modifier
Property
plugin.tx_blog.settings.meta.postheader.modifier
Data type
options[simple, condensed, extended, modern]
options[simple,condensed,extended,modern]
Default
simple
Description
Expand Down Expand Up @@ -1169,7 +1169,7 @@ Post Footer
Property Type Default
========================================================================= =============================================== ===========
plugin.tx_blog.settings.meta.postfooter.enable_ boolean 1
plugin.tx_blog.settings.meta.postfooter.modifier_ options[simple, condensed, extended, modern] simple
plugin.tx_blog.settings.meta.postfooter.modifier_ options[simple,condensed,extended,modern] simple
plugin.tx_blog.settings.meta.postfooter.elements.authors.enable_ boolean 0
plugin.tx_blog.settings.meta.postfooter.elements.authors.avatar.enable_ boolean 0
plugin.tx_blog.settings.meta.postfooter.elements.authors.avatar.size_ int+ 20
Expand Down Expand Up @@ -1202,7 +1202,7 @@ plugin.tx_blog.settings.meta.postfooter.modifier
Property
plugin.tx_blog.settings.meta.postfooter.modifier
Data type
options[simple, condensed, extended, modern]
options[simple,condensed,extended,modern]
Default
simple
Description
Expand Down Expand Up @@ -1370,7 +1370,7 @@ Element Header
Property Type Default
========================================================================= =============================================== ===========
plugin.tx_blog.settings.meta.listheader.enable_ boolean 1
plugin.tx_blog.settings.meta.listheader.modifier_ options[simple, condensed, extended, modern] simple
plugin.tx_blog.settings.meta.listheader.modifier_ options[simple,condensed,extended,modern] simple
plugin.tx_blog.settings.meta.listheader.elements.authors.enable_ boolean 0
plugin.tx_blog.settings.meta.listheader.elements.authors.avatar.enable_ boolean 0
plugin.tx_blog.settings.meta.listheader.elements.authors.avatar.size_ int+ 20
Expand Down Expand Up @@ -1403,7 +1403,7 @@ plugin.tx_blog.settings.meta.listheader.modifier
Property
plugin.tx_blog.settings.meta.listheader.modifier
Data type
options[simple, condensed, extended, modern]
options[simple,condensed,extended,modern]
Default
simple
Description
Expand Down Expand Up @@ -1530,7 +1530,7 @@ Element Footer
Property Type Default
========================================================================= =============================================== ===========
plugin.tx_blog.settings.meta.listfooter.enable_ boolean 1
plugin.tx_blog.settings.meta.listfooter.modifier_ options[simple, condensed, extended, modern] simple
plugin.tx_blog.settings.meta.listfooter.modifier_ options[simple,condensed,extended,modern] simple
plugin.tx_blog.settings.meta.listfooter.elements.authors.enable_ boolean 1
plugin.tx_blog.settings.meta.listfooter.elements.authors.avatar.enable_ boolean 0
plugin.tx_blog.settings.meta.listfooter.elements.authors.avatar.size_ int+ 20
Expand Down Expand Up @@ -1563,7 +1563,7 @@ plugin.tx_blog.settings.meta.listfooter.modifier
Property
plugin.tx_blog.settings.meta.listfooter.modifier
Data type
options[simple, condensed, extended, modern]
options[simple,condensed,extended,modern]
Default
simple
Description
Expand Down

0 comments on commit b808d42

Please sign in to comment.