Removing the “Download information as a VCard” from the Contact Us page?

Written by Matt on 9 November 2009

Topics: Core tips

Q. How do I remove the “Download information as a VCard” from the Contact Us page?

A. Add the code below to make the VCard notice an option.

The code below will add a radio button in the Contact/Parameters in the Joomla back-end.
This will allow you to select whether the VCard info appears or not.

Find file:  administratorcomponentscom_contactcontact_items .xml

Add this at a nice spot. (I did put it just before show/hide image.)\

Code:

<param name="vcard" type="radio" default="1" label="Vcard" description="Show/Hide the Vcard">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>

Get notified about new tips & tricks for Joomla:

RSS

Click here to subscribe via RSS feed


subscribe

Click here to receive updates via email

Leave a Comment Here's Your Chance to Be Heard!

CommentLuv Enabled

Subscribe without commenting

Joomla! is the registered trademark of Open Source Matters, Inc and Joomlatips.com is not affiliated with or endorsed by Open Source Matters, joomla.org or the Joomla! project.