Welcome, Guest
Username: Password: Remember me

TOPIC: social icons

social icons 2 years 6 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 2 years 6 months ago #7236

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • 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.155 seconds