TOPIC: social icons

social icons 9 years 2 months ago #7234

  • edensan
  • edensan's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 43
  • Karma: 0
i just want to use the social facebook button

how do i deativate the other ones?
The administrator has disabled public write access.

Re: social icons 9 years 2 months ago #7236

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
Hi,

You can edit this file(templates/ot_swizcake/html/com_virtuemart/productdetails/default.php) and remove code below:
<!-- Twitter Button -->
					<div class="productTwitterButton">
						<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"><?php echo JText::_('TPL_OT_TWEET'); ?></a><s-c-r-ipt type="text/javasc-r-i-pt" src="//platform.twitter.com/widgets.js"></sc--r-i-pt>
					</div>
					<!-- Google +1 Button -->
					<div class="productGooglePlusOneButton">	
						<g:plusone annotation="bubble" width="120" size="medium"></g:plusone>
						<s-c-r-ipt type="text/javasc-r-i-p-t">
						  (function() {
							window.___gcfg = {lang: 'en'}; // Define button default language here
							var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
							po.src = 'https://apis.google.com/js/plusone.js';
							var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
						  })();
						</s-cr-ip-t>
					</div>

Regards
The administrator has disabled public write access.
The following user(s) said Thank You: edensan
Time to create page: 0.100 seconds