Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

How to create add to address book (vcf) download?

Started by Muut Archive 9 years ago · 2 replies · 836 views
9 years ago

For non-Grav sites I have made in the past I have created an add to address book feature. For example on http://beautybydanny.com a link to http://beautybydanny.com/add-to-address-book/ goes to a VCF file whose headers are set accordingly (e.g., text/vcard).

In Grav, I'm not certain how to proceed. I tried dragging the VCF file into the Page Media area, but an error occurs: unsupported filetype. I'm okay with manually arranging it, but I don't know the Grav-approved way to do this. Can someone please point me in the right direction?

9 years ago

in system/media add filetype vcf and mime text/x-vcard page media will now accept vcf

9 years ago

Yes, that worked. Easier than I expected. Thank you!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1282 9 years ago
Archive · by Muut Archive, 9 years ago
2 889 9 years ago
Archive · by Muut Archive, 9 years ago
2 4019 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1078 9 years ago