diff --git a/composer.json b/composer.json index 3912bcb..c3b3c77 100644 --- a/composer.json +++ b/composer.json @@ -21,9 +21,8 @@ ], "require": { "dnadesign/silverstripe-elemental": "^5", - "dynamic/silverstripe-elemental-baseobject": "^4", - "jonom/focuspoint": "^5.0", - "silverstripe/framework": "^5" + "dynamic/silverstripe-elemental-baseobject": "^5", + "jonom/focuspoint": "^5.0" }, "require-dev": { "silverstripe/recipe-testing": "^3" @@ -39,8 +38,8 @@ "config": { "allow-plugins": { "composer/installers": true, - "silverstripe/vendor-plugin": true, - "silverstripe/recipe-plugin": true + "silverstripe/recipe-plugin": true, + "silverstripe/vendor-plugin": true }, "process-timeout": 600 }, diff --git a/templates/Dynamic/Elements/Promos/Elements/ElementPromos.ss b/templates/Dynamic/Elements/Promos/Elements/ElementPromos.ss index dfcc4b1..7f09a0c 100644 --- a/templates/Dynamic/Elements/Promos/Elements/ElementPromos.ss +++ b/templates/Dynamic/Elements/Promos/Elements/ElementPromos.ss @@ -7,7 +7,7 @@
<% if $Image %> - <% if $ElementLink %><% end_if %> + <% if $ElementLink %> target="_blank" rel="noopener noreferrer"<% end_if %>><% end_if %> $Image.Title.ATT <% if $ElementLink %><% end_if %> <% end_if %>