[SOLVED] Toolbar (Social Share/other tools)

More
7 years 8 months ago - 7 years 8 months ago #63694 by alitogata
I am trying to make the toolbar work (I will find how on the way) but when I create a new toolbar field in Social - Category View tab the "load configuration" select field is not opening as in Social - Item View tab.

I am using Joomla 3.6.2. & Flexicontent 3.1.0-rc2

FLEXIcontent v3.1.0-rc2
Joomla! 3.6.2
Attachments:
Last edit: 7 years 8 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago - 7 years 8 months ago #63696 by ggppdk
We have already made a fix for this ...

The parameter is "list" (drop-down) has by mistake:
class="btn-group ...."

find line:
Code:
<field name="addthis_code_predefined"

replace with:
Code:
<field name="addthis_code_predefined" type="multilist" subtype="list" toggle_related="1" default="" label="FLEXI_FIELD_TOOLBAR_ADDTHIS_PREDEFINED_CONFIGS" description="FLEXI_FIELD_TOOLBAR_ADDTHIS_PREDEFINED_CONFIGS_DESC" labelclass="label-info" depend_class="enable_addthis">


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 7 years 8 months ago by ggppdk.
The following user(s) said Thank You: alitogata

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago - 7 years 8 months ago #63753 by alitogata
Since the problem is with the same field. I am trying to find what am I doing wrong with toolbar and I can't get any sharing buttons on either item or category view. I don't really care about category view as item is my priority.

I can see the field on the item view as I have the print/email On and it shows so the field is placed on template. But there are no sharing buttons :/
In page source I see the code of addthis is placed correctly?

<script type="text/javascript">
var addthis_config = {
services_exclude: "print,email"
}
var fc_shape_fb_addthis = function() {
jQuery(".addthis_button_facebook_like.fc_resize").each(function(i, el) {
var scale = -1 + jQuery(el).get(0).getBoundingClientRect().width / jQuery(el).get(0).offsetWidth;
jQuery(el).css({"margin-bottom": scale*jQuery(this).height()});
if ( !jQuery(el).closest(".addthis_floating_style").length )
jQuery(el).css({"margin-right": scale*jQuery(this).width()});
else jQuery(el).css({"margin-right": 0});
});
};
jQuery(document).ready(function() {
setTimeout(fc_shape_fb_addthis, 2500); setTimeout(fc_shape_fb_addthis, 3500); setTimeout(fc_shape_fb_addthis, 4500);

jQuery(".addthis_toolbox").each(function(i, el) {
if (jQuery(el).get(0).hasAttribute("data-url")) jQuery(el).attr("addthis:url", jQuery(el).attr("data-url"));
if (jQuery(el).get(0).hasAttribute("data-title")) jQuery(el).attr("addthis:title", jQuery(el).attr("data-title"));
if (jQuery(el).get(0).hasAttribute("data-fb-like-layout")) jQuery(el).attr("fb:like:layout", jQuery(el).attr("data-fb-like-layout"));
});
var scriptTag = document.createElement("script");
scriptTag.src = "//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-57ac89971e3c18ec";
document.getElementsByTagName("head")[0].appendChild(scriptTag);
});

</script>


what am i doing wrong? :(

FLEXIcontent v3.1.0-rc2
Joomla! 3.6.2
Last edit: 7 years 8 months ago by alitogata.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #63763 by alitogata
nevermind, after almost a week fighting with it lol it started showing in both item/category view

FLEXIcontent v3.1.0-rc2
Joomla! 3.6.2

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.269 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline