How to add an sms:number link to a menu?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
In Drupal 8.5, when you're adding a menu item, you can add a telephone number by setting the Link to tel:1-555-555-5555
.
However, if you try to add an SMS link like sms:1-555-555-5555
, it fails validation and says "The path 'sms:1-555-555-5555` is invalid."
What's the easiest way to override this so that I can add an sms link to the menu?
8 navigation
add a comment |Â
up vote
1
down vote
favorite
In Drupal 8.5, when you're adding a menu item, you can add a telephone number by setting the Link to tel:1-555-555-5555
.
However, if you try to add an SMS link like sms:1-555-555-5555
, it fails validation and says "The path 'sms:1-555-555-5555` is invalid."
What's the easiest way to override this so that I can add an sms link to the menu?
8 navigation
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
In Drupal 8.5, when you're adding a menu item, you can add a telephone number by setting the Link to tel:1-555-555-5555
.
However, if you try to add an SMS link like sms:1-555-555-5555
, it fails validation and says "The path 'sms:1-555-555-5555` is invalid."
What's the easiest way to override this so that I can add an sms link to the menu?
8 navigation
In Drupal 8.5, when you're adding a menu item, you can add a telephone number by setting the Link to tel:1-555-555-5555
.
However, if you try to add an SMS link like sms:1-555-555-5555
, it fails validation and says "The path 'sms:1-555-555-5555` is invalid."
What's the easiest way to override this so that I can add an sms link to the menu?
8 navigation
8 navigation
asked Sep 4 at 8:53
Patrick Kenny
13.8k1281202
13.8k1281202
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
6
down vote
accepted
On the sites/default/services.yml
There is an option called filter_protocols
Add sms
to it.
If file is not available, copy the file from default.services.yml
to services.yml
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
On the sites/default/services.yml
There is an option called filter_protocols
Add sms
to it.
If file is not available, copy the file from default.services.yml
to services.yml
add a comment |Â
up vote
6
down vote
accepted
On the sites/default/services.yml
There is an option called filter_protocols
Add sms
to it.
If file is not available, copy the file from default.services.yml
to services.yml
add a comment |Â
up vote
6
down vote
accepted
up vote
6
down vote
accepted
On the sites/default/services.yml
There is an option called filter_protocols
Add sms
to it.
If file is not available, copy the file from default.services.yml
to services.yml
On the sites/default/services.yml
There is an option called filter_protocols
Add sms
to it.
If file is not available, copy the file from default.services.yml
to services.yml
answered Sep 4 at 9:00
Anish Sheela
335111
335111
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdrupal.stackexchange.com%2fquestions%2f268680%2fhow-to-add-an-smsnumber-link-to-a-menu%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password