Skip to content

Commit

Permalink
FEATURE: Add layout option with default
Browse files Browse the repository at this point in the history
  • Loading branch information
grebaldi committed May 23, 2019
1 parent 02d0058 commit 4883bf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Configuration/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ KaufmannDigital:
position: 'bottom'
static: false
theme: 'block'
layout: 'basic'
palette:
popup:
background: '#000'
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To configure the policy-link, you have the following two options:
'KaufmannDigital.CookieConsent:PolicyPageMixin': true
...
```

After that, simply select the policy page in your Neos backend.

* Or use this snippet in your `Settings.yaml`:
Expand Down Expand Up @@ -73,6 +73,7 @@ KaufmannDigital:
CookieConsent:
position: 'bottom' # bottom, bottom-left, bottom-right, top, top-left or top-right
theme: 'block' # block, classic, or edgeless
layout: 'basic' # basic, basic-close or basic-header
palette:
popup:
background: '#000' #like in css
Expand Down
1 change: 1 addition & 0 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ prototype(Neos.Neos:Page) {
position = ${Configuration.setting('KaufmannDigital.CookieConsent.position')}
static = ${Configuration.setting('KaufmannDigital.CookieConsent.static')}
theme = ${Configuration.setting('KaufmannDigital.CookieConsent.theme')}
layout = ${Configuration.setting('KaufmannDigital.CookieConsent.layout')}
palette = ${Configuration.setting('KaufmannDigital.CookieConsent.palette')}
elements = ${Configuration.setting('KaufmannDigital.CookieConsent.elements')}
compliance = ${Configuration.setting('KaufmannDigital.CookieConsent.compliance')}
Expand Down

0 comments on commit 4883bf3

Please sign in to comment.