From 39f03828e17b7ee39f72fb636224db2852822342 Mon Sep 17 00:00:00 2001 From: Ari Cooper-Davis Date: Sat, 15 Oct 2022 16:14:37 +0100 Subject: [PATCH] Added ability to hide action button, closes #7 --- CHANGELOG.md | 9 +++++++++ README.md | 12 +++++++++--- blueprints.yaml | 13 +++++++++++-- custom-banner.php | 3 ++- custom-banner.yaml | 7 ++++--- images/default_banner.png | Bin 0 -> 21587 bytes languages.yaml | 2 ++ 7 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 images/default_banner.png diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b9791e..87b7c46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# v1.0.15 +## 15-10-2022 + +1. [](#new) + * New option to enable or disable the action button +2. [](#improved) + * Improve documentation (README.md) + * Improved default configuration + # v1.0.14 ## 15-10-2022 diff --git a/README.md b/README.md index 6d45a2a..53b6232 100644 --- a/README.md +++ b/README.md @@ -44,18 +44,23 @@ enabled: true content: Custom Text added by the Custom Banner plugin (disable plugin to remove) position: bottom button-text: Click me... -button-url: /route-to-page/you-want-to/link-to +button: true +button-url: https://example.com/ dismiss-text: Dismiss dismiss-button: true cdn-fix: false -bg-colour: '#EC565C' -fg-colour: 'rgba(255, 255, 255, 0.80)' +bg-colour: '#A1C3B2' +fg-colour: 'rgba(0, 20, 10, 0.90)' box-shadow: true show-on-pages: hide-on-pages: - /route-to-page/you-want-to/exclude ``` +Which creates a default banner that looks like this: + +![Screenshot of default banner](./images/default_banner.png) + ### Options The configuration options can broadly be separated into those that change the plugins appearance, and those that change its behaviour. See the above default configuration for examples of valid configuration values. @@ -76,6 +81,7 @@ The configuration options can broadly be separated into those that change the pl | `button-url` | string | The URL that the action button links to. | | `show-on-pages` | array of strings | List of routes of pages on which the banner should be exclusively shown (i.e. a whitelist). Leave empty to show the banner on all pages. | | `hide-on-pages` | array of strings | List of routes of pages on which the banner should be hidden (i.e. a blacklist). Takes priority over the `show-on-pages` value for any given page route. | +| `button` | boolean | Whether an action button is shown or not. | | `dismiss-button` | boolean | Whether a dismiss button is shown or not. | | `cdn-fix` | boolean | Enable if a CDN is used for cacheing in-front of the site. This uses client-side javascript for the display logic rather than the default behaviour of server-side logic. | diff --git a/blueprints.yaml b/blueprints.yaml index c7ac9e2..f89d8ef 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,7 +1,7 @@ name: Custom Banner slug: custom-banner type: plugin -version: 1.0.14 +version: 1.0.15 description: Add a custom banner to your Grav site icon: bookmark author: @@ -82,7 +82,7 @@ form: fields: button-url: type: text - default: /route-to-page/you-want-to/link-to + default: https://example.com/ label: PLUGIN_CUSTOM_BANNER.BUTTON_URL help: PLUGIN_CUSTOM_BANNER.BUTTON_URL_HELP show-on-pages: @@ -109,6 +109,15 @@ form: show_all: false show_modular: false show_root: false + button: + type: toggle + label: PLUGIN_CUSTOM_BANNER.BUTTON + help: PLUGIN_CUSTOM_BANNER.BUTTON_HELP + highlight: 1 + default: 1 + options: + 1: PLUGIN_ADMIN.ENABLED + 0: PLUGIN_ADMIN.DISABLED dismiss-button: type: toggle label: PLUGIN_CUSTOM_BANNER.DISMISS_BUTTON diff --git a/custom-banner.php b/custom-banner.php index 3dee579..af8ddca 100644 --- a/custom-banner.php +++ b/custom-banner.php @@ -123,6 +123,7 @@ public function onOutputGenerated(): void $content = $config['content']; $hidden = ($config['cdn-fix'] ? '' : 'shown'); $button_text = $config['button-text']; + $button = ($config['button'] ? 'inline-block' : 'none'); $button_url = $config['button-url']; $dismiss_text = $config['dismiss-text']; $dismiss_button = ($config['dismiss-button'] ? 'inline-block' : 'none'); @@ -139,7 +140,7 @@ public function onOutputGenerated(): void
$content
$dismiss_text - $button_text + $button_text
diff --git a/custom-banner.yaml b/custom-banner.yaml index f70a5fa..7cc192a 100644 --- a/custom-banner.yaml +++ b/custom-banner.yaml @@ -2,12 +2,13 @@ enabled: true content: Custom Text added by the Custom Banner plugin (disable plugin to remove) position: bottom button-text: Click me... -button-url: /route-to-page/you-want-to/link-to +button: true +button-url: https://example.com/ dismiss-text: Dismiss dismiss-button: true cdn-fix: false -bg-colour: '#EC565C' -fg-colour: 'rgba(255, 255, 255, 0.80)' +bg-colour: '#A1C3B2' +fg-colour: 'rgba(0, 20, 10, 0.90)' box-shadow: true show-on-pages: hide-on-pages: diff --git a/images/default_banner.png b/images/default_banner.png new file mode 100644 index 0000000000000000000000000000000000000000..00daf1483bd605aafb8162f8f4f8a3dc6ba1a7d6 GIT binary patch literal 21587 zcmbTdcU+QP{5P(ZS(@2!l(X)Jsi|d}<}S-Jb8k$|%-rHaTwrQuWol(=?!8bXCn^e+ zrMdS6MRTAc-~zwPH&-EGa&$!;07~SXN5#izB;Na7L zaMz53<1jzFUwz~-`x~UkAkR|CmO#MZFz25m5FG>5J&qioF#8HpZleHDVN2U0n&Q zQ#G!P-Wv6x<@TJ2%oX2mT&f856M-Rn`bLF@FDoGtx`Tmo2cl&d3N}hcG42x-$-t>Kc6I$kO zaq42}v;THfocfT5Vi0ex|1}o}wov4+dd1EEd(R`*&HZ{ft_Tj!y1>FU!>|D}JxtU4Bt+q1gNlEQ&i>VAVRQm)?BtQdeQZ zUz+QPnpe+gEfmy#)d6H%d_3;5&@OXa;+f#6D;LLAdl`kjtH%Tc7NiC@o+iKhOFSKe zvO-@i@67z>YiaZC5b0zoC$&$>k}%oe6N|P@77jIj6~Y9<%jN!IGsK0zi|*G0Jq+tP zCk6kCdGFeC1v3$Rt7zkndq~yWC~m*oP{8?!GL3EC96NjIR@G$>F!O7GW;e~~yn7!|=`u(}r#0oEU^Z#tU zEGzl%@E4<>EU)BP21_o=iZ3$cdHxwEbk+xccC3_q*p<{ha~t3k{y0~XIyA^5HtsvS zdCtw`lVs5l{j!9Sd57xXB@D}!b7%=9o)%t;WvbdQ4MrW=t#EIZUao~+QAP~T+*Ylq z<%?zBL9^^8wG57m{IGYzofD^CdSsv>R?T(v-&u4FKEn>IAM?u#R}~XpESD^~q0a2u zZuPSibJ)??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Zolck%~4|^3rx4$cM0?S=qrCW(;>|iTj z@!iS{0~pG}x$djms`!A{v;3msEjBk4z>{Nodao71YuyytA6W0YQrX;4*shl(2q_x9 z-D-=ff;dE3Sy+bk-LdsBcb_Zpto$ z%Rr>93(lU+GEPrrS4_`OS0>49@Rmxb1XF|1{PXH9fF(-zJNa5xZJM>SxeHPwx{oL; zMhMB>kEP$=xn>x0d8fo54{*TcyrNmL~T5(fGFKeW`3T6P3RlVlmV5)&zxInRG8? zEzskaDxuWw$FghQ_HpI(&!G=O_o|zEFG&Wz@xJ3i3~SRH8kEY^gMkVN2#XgF^wbp? zFIlLQi7fZRpBBo2Y_NF{>bB*l&2bl2;d#-i6wM=mI!}@Z(#Z>i9hHt$tqw)p*uH0P zx1wcx665I=X5$Z}Tv^3Ev@{zUcDfv7mrdTL`)t|AK~>>@_~Np*D7WU8OGk=mNhDfQ zf;750p57EUPGVPuB2Tu^uS3+YLZ~90X>G_3FJ;%kE6(e8RLRNd)wR1%0J^&F8a?%t zhH_x_JkQyZhRuPvI{$`Ceb9n(0=#c!0^O@=rpX2`Pg5Rv7=CqPRV9Ll*_X#!(Ll*> z9&=9HJ$qgS1vE3-)XJprvh@oEQf4)`lH8NItUKEh0{iTj`+EQKaVw1-VWDhYZtxwG z1IgYT)=x#6>RE|EM~DE7PSfy+kjDSRYey4WXLY8fRp@1_`r^5(^9Ob%|yp*(|e~>14!fETMkHyTfoO6!j z|Aw0*jtcEqhrsiI(y)RB3@A5*jU;xEHzF1VP2?)F0I-g{XIq@6eXrM%Zg^+Vy v4E#a*bi`H{9B+>9nH-Oo{$zeMom_)L3ujKVIX4~FBRCv%IdFHMU;KXo;v?MQ literal 0 HcmV?d00001 diff --git a/languages.yaml b/languages.yaml index 35165af..ebe1473 100644 --- a/languages.yaml +++ b/languages.yaml @@ -10,6 +10,8 @@ en: BOX_SHADOW_HELP: Display a box shadow beneath the banner BUTTON_TEXT: Button text BUTTON_TEXT_HELP: Button text must be valid HTML + BUTTON: Show action button + BUTTON_HELP: Show an action button that points to a URL BUTTON_URL: Button URL BUTTON_URL_HELP: The location that the button links to DISMISS_TEXT: Dismiss button text