I have emails in a field and i want to display them with Views, those emails will be used for skype Entreprise contact :

So i use the REWRITE RESULTS to add the tag :

And i get this :

Skype
The problem is that the link genrated is :

http://www.website.com/username@website.com

And i want the link to be :

sip:username@website.com

How can i do that ?

Comments

usethe23 created an issue. See original summary.

usethe23’s picture

Status: Active » Closed (won't fix)
ñull’s picture

Category: Bug report » Support request
Status: Closed (won't fix) » Active

It's not a bug, but still closing it does not answer the legitimate question. How do we output a sip (or skype) link in views? I am asking this for Drupal 7 but may be the answer for D8 will help me.

vivekguptakota’s picture

Status: Active » Needs review

Hello,

Please user following steps.
1.Check the checkbox Output this field as a custom link.
2. Then enter value like mailto:{{ mail__value }} in textbox.
2. Checked Use absolute path checkbox.

Then check.It will show as you want.

Version: 8.2.6 » 8.2.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

nikhileshpaul’s picture

Hi Vivek,

Your solution works fine since "mailto:" is identified as a valid uri scheme for drupal. The issue here is with using "sip:" instead.

Is there a solution for it yet?

[[UPDATE]]: For Drupal 8, found the solution at https://www.lakedrops.com/en/blog/post/add-link-call-skype-drupal-8. Works perfectly

Thanks,
Nikhilesh

Version: 8.2.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev
cilefen’s picture

Status: Needs review » Closed (outdated)

I am closing this support request because there have been no recent comments.

The Drupal Core issue queue is not the ideal place for support requests. Consider other sources of support.

It looks like someone published a solution.