Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by Muut Archive 9 years ago · 2 replies · 1098 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 2941 9 years ago
Archive · by Muut Archive, 9 years ago
2 1911 9 years ago
Archive · by Muut Archive, 9 years ago
2 5248 9 years ago
Archive · by Muut Archive, 9 years ago
1 4064 9 years ago
Archive · by Muut Archive, 9 years ago
3 2000 9 years ago