Topic-icon extra fieald

Active Subscriptions:

None
12 years 6 months ago #39436 by zoohayr
extra fieald was created by zoohayr
hello,
I am looking to know how to place plugins k2 like and K2 comment after extra-fields and thank you....
The topic has been locked.
Support Specialist
12 years 6 months ago #39451 by alzander
Replied by alzander on topic extra fieald
zoohayr,
The social buttons and comment boxes use the content plugin system. Using that plugin, we can only add the social features directly before or after the K2 main component output. If the extra fields are displayed using another plugin or outside of the main K2 item template, we won't have any control over where the social features display.

All I can recommend is to move the ordering of the JFBCContent plugin to a higher, or lower, ordering position to see if that changes where they display in relation to the other content.

If that doesn't help, let me know a K2 page from your site where we can see what's happening. We can investigate further, but we're somewhat limited by how K2's template interface works.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago - 12 years 5 months ago #39729 by zoohayr
Replied by zoohayr on topic extra fieald
Hi Alex,
Sorry for the delay to answer you .... here's a link or an example you will find that it is extremely important for me to move the pluging Message JFB connect after extra fields instead of leaving after section and thank you beacoup ...
{www.guideculturel.ma/component/com_k2/It...07/id,178/view,item/}
Last edit: 12 years 5 months ago by zoohayr.
The topic has been locked.
Support Specialist
12 years 5 months ago #39852 by alzander
Replied by alzander on topic extra fieald
There's not an easy way to do what you're looking for. However, you can try the following which should move things where you want using jQuery:
<script type="text/javascript">
jfbcJQuery(document).ready(function () {
  var jfbccomments = jQuery('.jfbccomments'); jQuery('.itemVideoBlock').after(jfbccomments);
  var scbuttons = jQuery('.scsocialbuttons'); jQuery('.itemVideoBlock').after(scbuttons);
});
</script>
That code can go at the end of your template, in your K2 item view template (likely the best spot), or using a custom HTML module to place it on your K2 pages.

I hope that helps get you going, but if not, or you implement the code and run into issues, just let me know.

Thanks,
Alex
The topic has been locked.