Replace contact form link with mailto:

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
vgXhc's picture

And another OpenScholar newb question: how can I replace the link in the site header to /contact_owner with a direct mailto: link? I haven't been able to figure where to switch this.

Thanks,
Harald.

Comments

Harald,I don't believe we

jsagotsky's picture

Harald,

I don't believe we have a setting to change the email link as you request.

If you're trying to make this change in your own personal site, you should create a custom text/html widget. Give it the same HTML as your site info, but swap out the contact link.

If you're trying to make this change for an entire OpenScholar installation, check out sites/all/modules/openscholar_scholar/scholar/scholar.module. The _scholar_basicinfo_wdgt() function provides the link you're looking to change.

Jon

Thank you

vgXhc's picture

Jon, the custom widget hint was right on spot. Thanks a lot!

OpenScholar

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week