- Posts: 98
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Change positioning or disable social icons underK2
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Change positioning or disable social icons underK2
- emperor
- Topic Author
- Offline
- Premium Member
Less
More
11 years 1 week ago #137133
by emperor
Change positioning or disable social icons underK2 was created by emperor
Hi there,
I'm trying to change positioning and/or disable social icons to K2 item view. I guess you have override the default K2 css, because even after disabling the option on K2 main category, social icons are still there.
I'm trying to change positioning and/or disable social icons to K2 item view. I guess you have override the default K2 css, because even after disabling the option on K2 main category, social icons are still there.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 1 week ago #137134
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Change positioning or disable social icons underK2
Hello John,
The code for the sharing icons is this in case you want to move it
If you cannot hide them check if your category is inheriting settings from another one and its settings are being overriden.
The code for the sharing icons is this in case you want to move it
<?php if($this->item->params->get('itemTwitterButton',1) || $this->item->params->get('itemFacebookButton',1) || $this->item->params->get('itemGooglePlusOneButton',1)): ?>
<!-- Social sharing -->
<div class="itemSocialSharing">
<h3 class="fontIsNoticia"><?php echo JText::_('K2_SHARE_IT'); ?></h3>
<?php if($this->item->params->get('itemTwitterButton',1)): ?>
<!-- Twitter Button -->
<div class="itemTwitterButton">
<a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical"<?php if($this->item->params->get('twitterUsername')): ?> data-via="<?php echo $this->item->params->get('twitterUsername'); ?>"<?php endif; ?>>
<?php echo JText::_('K2_TWEET'); ?>
</a>
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemFacebookButton',1)): ?>
<!-- Facebook Button -->
<div class="itemFacebookButton">
<div id="fb-root"></div>
<script type="text/javascript">
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-send="false" data-layout="box_count" data-width="200" data-show-faces="true"></div>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemGooglePlusOneButton',1)): ?>
<!-- Google +1 Button -->
<div class="itemGooglePlusOneButton">
<g:plusone annotation="bubble" size="tall" width="120"></g:plusone>
<script type="text/javascript">
(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);
})();
</script>
</div>
<?php endif; ?>
<div class="clr"></div>
</div>
<?php endif; ?>
If you cannot hide them check if your category is inheriting settings from another one and its settings are being overriden.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- emperor
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 98
11 years 1 week ago #137135
by emperor
Replied by emperor on topic Change positioning or disable social icons underK2
After disabling the social media, i'm facing a problem with the column that left empty under the print/email icons.
Please Log in or Create an account to join the conversation.
- emperor
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 98
11 years 1 week ago #137136
by emperor
Replied by emperor on topic Change positioning or disable social icons underK2
I'm waiting for a solution on the above blank column issue.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 1 week ago #137137
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Change positioning or disable social icons underK2
I will provide you with a customised item.php within 12 hours.
If you are pushing the site live today you can do this change:
<div class="itemLeftContainer column eight mobile-four alpha">
to
<div class="itemLeftContainer column twelve mobile-four alpha"> in your item.php file.
If you are pushing the site live today you can do this change:
<div class="itemLeftContainer column eight mobile-four alpha">
to
<div class="itemLeftContainer column twelve mobile-four alpha"> in your item.php file.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- emperor
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 98
11 years 1 week ago - 11 years 1 week ago #137138
by emperor
Replied by emperor on topic Change positioning or disable social icons underK2
Which item.php?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 1 week ago #137139
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Change positioning or disable social icons underK2
I have also included the folder structure.
Backup before applying any patch.
This patch will be included in the next update as well.
Backup before applying any patch.
This patch will be included in the next update as well.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- emperor
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 98
11 years 1 week ago #137140
by emperor
Replied by emperor on topic Change positioning or disable social icons underK2
Solution worked fine.
To close this topic though i'd like to know if it's possible to have the social icons on the bottom of each content (K2) and how this can happen. I tried to make changes but unfortunately the override is very complicated.
To close this topic though i'd like to know if it's possible to have the social icons on the bottom of each content (K2) and how this can happen. I tried to make changes but unfortunately the override is very complicated.
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Change positioning or disable social icons underK2