From 031f8b23ec29b17cf00a2bb45632a39e5a98f454 Mon Sep 17 00:00:00 2001 From: Juan Molina Date: Sat, 2 Jun 2018 19:30:12 +0200 Subject: [PATCH 1/2] Update 03_Requirements.md Update Blocking section to reflect new vendor path --- docs/en/02_Developer_Guides/01_Templates/03_Requirements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md b/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md index 2b2ac35d3..d399e8019 100644 --- a/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md +++ b/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md @@ -334,7 +334,7 @@ One common example is to block the core `jquery.js` added by various form fields version in a custom location. This assumes you have tested your application with the newer version. ```php -Requirements::block('silverstripe-admin/thirdparty/jquery/jquery.js'); +Requirements::block('vendor/silverstripe/admin/thirdparty/jquery/jquery.js'); ```
From 35943ac68a79098604256c8b5ed6a3494160fc4a Mon Sep 17 00:00:00 2001 From: Juan Molina Date: Sun, 3 Jun 2018 14:25:05 +0200 Subject: [PATCH 2/2] Update 03_Requirements.md --- docs/en/02_Developer_Guides/01_Templates/03_Requirements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md b/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md index d399e8019..df9eee276 100644 --- a/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md +++ b/docs/en/02_Developer_Guides/01_Templates/03_Requirements.md @@ -334,7 +334,7 @@ One common example is to block the core `jquery.js` added by various form fields version in a custom location. This assumes you have tested your application with the newer version. ```php -Requirements::block('vendor/silverstripe/admin/thirdparty/jquery/jquery.js'); +Requirements::block('silverstripe/admin:thirdparty/jquery/jquery.js'); ```