VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: fidbek on April 19, 2013, 10:16:41 AM

Title: virtuemart2 disable Ask a question link
Post by: fidbek on April 19, 2013, 10:16:41 AM
Hi
joomla 2.5 and virtuemart 2
i unchecked the option in the virtuemart admin panel for "Show the Ask a question link?" but i can still see that the link is working.
also, when i go to google webmaster tool it shows me that this link was indexed.

how can i remove the links completely?

thanks
Title: Re: virtuemart2 disable Ask a question link
Post by: jenkinhill on April 19, 2013, 15:58:08 PM
Which versions? http://forum.virtuemart.net/index.php?topic=79799.0

Are you using template overrides?
Title: Re: virtuemart2 disable Ask a question link
Post by: fidbek on April 21, 2013, 15:58:11 PM
version 2.0.18a.
dont know how to answer your second question :-(
Title: Re: virtuemart2 disable Ask a question link
Post by: PRO on April 21, 2013, 16:07:01 PM
for template overrides, if you dont know post a link to your site

&

ask quedstion uses

the "component" template.

So, what I do it

templates/my_template


component.php

<?php
$doc =& JFactory::getDocument();
$doc->setMetaData( 'robots', 'noindex' );
?>