Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter fireemerald

    (@fireemerald)

    Hi @abzlevelup,

    Sorry for the late response but i was really busy in the last weeks.
    I really appreciate your provided CSS and the link, it fixed the basic design.

    I wonder why your basic design was broken on this site as i don’t have that much other plugins installed.

    Thread Starter fireemerald

    (@fireemerald)

    Citing other plugins as a reason not to improve your own plugin is a bad attitude. Fact is a Plugin should integrate only that, at the places which need it.

    Thread Starter fireemerald

    (@fireemerald)

    Ah and why do you include all your js and css files on any page of a website?

    You should only include these files if the actual page contains content wich requires them.

    Thread Starter fireemerald

    (@fireemerald)

    As i wrote i was also unable to re-create a broken block.

    But anyway you should not allow a empty font to be added.
    Add a check inside the function: https://i.imgur.com/OtcAyQl.png

    Input should be always validated – you don’t do that at the moment.

    • This reply was modified 4 years, 10 months ago by fireemerald.
    Thread Starter fireemerald

    (@fireemerald)

    So i ended up with this:

    • Leave everything as it is and don’t try to overwrite bootstrap or popperjs (it’s conflicting on one or another end).
    • Included the css classes for .popover from bootstrap 4.

    The popover is working as intended and has the look of bootstrap 4.

    Thread Starter fireemerald

    (@fireemerald)

    I’ve tracked the error down and found the root cause.

    The popover dom element is created and attached to the container (body):
    <div class="popover fade right in" style="top: 508px; left: 1194.25px; display: block;">...<div>

    But the problem is, this element is not visible. It’s because the css class show is never added to the dom element and without the show class assigned, this rule takes effect:

    .fade:not(.show) {
        opacity: 0;
    }

    CSS rule source: https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css -> https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/scss/_transitions.scss

    As you can see the rule is from the default bootstrap style. It does conflict with your overwritten functions from popover. I added this import because i wanted to use the bootstrap styling.

    My question is now:
    – Do you really overwrite many (all?) of the popover methods via prototype (setContent, hasContent, show, …) or do i see this wrong and you just included them inside the kt_plugins.min.js file from the original?
    – Do you know a way to restore the default behavior?

    Last but not least is there a option to get the un-minified version of kt_plugins.min.js used instead the minified one – it’s kind of triggering me.

    Thread Starter fireemerald

    (@fireemerald)

    Thanks for your fast response.

    I know that it’s possible with the rel and data attributes but that’s not what i asked for.

    My use case requires the dynamic approach like this, where the popup is generated and destroyed on-the-fly using javascript (jquery + bootstrap + Popper.js).

    // event enterDayView
    $(e.element).popover({ 
        trigger: 'manual',
        container: 'body',
        html: true,
        content: content
    });
    
    $(e.element).popover('show');
    
    // event leaveDayView
    $(e.element).popover('hide');

    This code is supported by retail bootstrap but your theme overwrites the popover method and thus this code does not work as intended by bootstrap anymore. It’s kind of a bug?

    Thread Starter fireemerald

    (@fireemerald)

    The content of the shortcode is irrelevant. Example: “Hello World!” – works as intended on any post.

    Just download The Events Calendar (it’s free and available via the link from #1 post) and then add any shortcode here:
    Create a new event
    How it looks like in month view

    I don’t know if shortcoder is the problem here or The Events Calendar. It’s up to you to test this ??

    • This reply was modified 7 years ago by fireemerald. Reason: image added

    It’s impossible to get the correct naming without changing some lines of php code @wdsupport because the order is hard coded.

    The problem is located at \frontend\models\FFWDModelBlog_style.php L100 and L102:

    return $numberOfUnits.' '.$tokens_s[$unit] . __(' ago','ffwd');

    $numberOfUnits = ‘4’
    $tokens_s[$unit] = ‘Monate’
    __(' ago','ffwd') = ‘vor’

    Complete: 4 Monatevor, Correct would be: Vor 4 Monaten

    The php code must be changed to something like:

    if($numberOfUnits>1) {
    	if ( get_locale() === 'de_DE' ) {
    		return __('ago', 'ffwd') . ' ' . $numberOfUnits . ' ' . $tokens_s[$unit];
    	} else {
    		return $numberOfUnits . ' ' . $tokens_s[$unit] . __(' ago', 'ffwd');
    	}
    }
    
    if ( get_locale() === 'de_DE' ) {
    	return __('ago','ffwd') . ' ' . $numberOfUnits . ' ' . $text;
    } else {
    	return $numberOfUnits.' '.$text. __(' ago','ffwd');
    }

    This produces: vor 4 Monaten

    • This reply was modified 7 years, 5 months ago by fireemerald.

    Just as note that other users also get this warning like me – last on 14-Oct-2017 running Version 5.4.

    Thread Starter fireemerald

    (@fireemerald)

    I opened an request and will take a look what they answer, because your free support is kind of premium. I hope you will be able to find the reason of the problem if they will provide you a testing license.

    For now we disabled the settings from above and hope that the error won’t trigger again. I will provide you their response when i got it.

    Thread Starter fireemerald

    (@fireemerald)

    The js_composer is the internal name for Visual Composer.

    • “Enable Media Grid Enhancements” and
    • “Enable Media Manager Enhancements”

    were checked, sorry for that. I provide you all my exported settings:
    a:14:{s:23:"image_default_link_type";s:4:"none";s:15:"current_version";s:4:"2.60";s:16:"taxonomy_support";a:8:{s:11:"tax_support";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:14:"tax_quick_edit";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:15:"tax_term_search";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:18:"tax_flat_checklist";a:0:{}s:18:"tax_checked_on_top";a:2:{s:19:"attachment_category";s:7:"checked";s:14:"attachment_tag";s:7:"checked";}s:10:"tax_filter";s:19:"attachment_category";s:16:"tax_metakey_sort";s:3:"ASC";s:11:"tax_metakey";s:4:"none";}s:28:"search_media_filter_defaults";a:2:{s:16:"search_connector";s:3:"AND";s:13:"search_fields";a:4:{i:0;s:5:"title";i:1;s:7:"excerpt";i:2;s:7:"content";i:3;s:4:"file";}}s:17:"enable_mla_viewer";s:9:"unchecked";s:21:"enable_featured_image";s:9:"unchecked";s:32:"enable_featured_image_generation";s:9:"unchecked";s:24:"enable_ghostscript_check";s:9:"unchecked";s:20:"custom_field_mapping";a:0:{}s:17:"iptc_exif_mapping";a:3:{s:8:"standard";a:5:{s:10:"post_title";a:5:{s:4:"name";s:5:"Title";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:9:"post_name";a:5:{s:4:"name";s:9:"Name/Slug";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:9:"image_alt";a:5:{s:4:"name";s:8:"ALT Text";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:12:"post_excerpt";a:5:{s:4:"name";s:7:"Caption";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}s:12:"post_content";a:5:{s:4:"name";s:11:"Description";s:10:"iptc_value";s:4:"none";s:10:"exif_value";s:0:"";s:10:"iptc_first";b:1;s:13:"keep_existing";b:1;}}s:8:"taxonomy";a:0:{}s:6:"custom";a:0:{}}s:22:"enable_post_mime_types";s:9:"unchecked";s:15:"post_mime_types";a:0:{}s:12:"upload_mimes";a:4:{s:6:"custom";a:0:{}s:8:"disabled";a:52:{s:3:"aac";b:1;s:3:"ac3";b:1;s:2:"ai";b:1;s:3:"aif";b:1;s:4:"aifc";b:1;s:4:"aiff";b:1;s:2:"au";b:1;s:3:"bin";b:1;s:3:"cat";b:1;s:3:"cdf";b:1;s:3:"cgm";b:1;s:3:"clp";b:1;s:3:"crd";b:1;s:3:"dat";b:1;s:3:"dll";b:1;s:3:"dot";b:1;s:3:"dtd";b:1;s:3:"eps";b:1;s:4:"gtar";b:1;s:3:"ief";b:1;s:3:"ifb";b:1;s:3:"m13";b:1;s:3:"m14";b:1;s:3:"mml";b:1;s:3:"mny";b:1;s:5:"movie";b:1;s:3:"mp2";b:1;s:3:"mpa";b:1;s:3:"msg";b:1;s:3:"mvb";b:1;s:3:"otf";b:1;s:3:"pic";b:1;s:4:"pict";b:1;s:2:"ps";b:1;s:3:"pub";b:1;s:3:"rgb";b:1;s:3:"scd";b:1;s:3:"snd";b:1;s:3:"sql";b:1;s:3:"sst";b:1;s:3:"stl";b:1;s:3:"trm";b:1;s:3:"ttf";b:1;s:3:"w6w";b:1;s:3:"wmf";b:1;s:4:"woff";b:1;s:4:"word";b:1;s:3:"xlc";b:1;s:3:"xlm";b:1;s:3:"xml";b:1;s:3:"xsl";b:1;s:4:"xslt";b:1;}s:11:"description";a:0:{}s:9:"icon_type";a:91:{s:2:"ai";s:10:"postscript";s:4:"aifc";s:5:"audio";s:3:"asx";s:5:"video";s:2:"au";s:5:"audio";s:3:"bin";s:6:"binary";s:3:"bmp";s:7:"default";s:1:"c";s:8:"source_c";s:2:"cc";s:10:"source_cpp";s:3:"cgm";s:5:"image";s:5:"class";s:11:"source_java";s:3:"clp";s:6:"knotes";s:3:"crd";s:6:"knotes";s:3:"css";s:10:"stylesheet";s:3:"dat";s:6:"binary";s:3:"dll";s:8:"exe_wine";s:3:"dot";s:8:"document";s:4:"dotx";s:8:"document";s:3:"dtd";s:4:"code";s:3:"eps";s:10:"postscript";s:3:"exe";s:8:"exe_wine";s:3:"gif";s:7:"default";s:4:"gtar";s:7:"archive";s:4:"gzip";s:7:"archive";s:1:"h";s:8:"source_h";s:3:"ico";s:7:"default";s:3:"ics";s:8:"calendar";s:3:"ief";s:5:"image";s:3:"ifb";s:8:"calendar";s:3:"jpe";s:7:"default";s:4:"jpeg";s:7:"default";s:3:"jpg";s:7:"default";s:2:"js";s:11:"source_java";s:3:"mdb";s:8:"database";s:3:"mid";s:5:"audio";s:4:"midi";s:5:"audio";s:3:"mml";s:8:"kformula";s:5:"movie";s:5:"video";s:3:"mpa";s:5:"audio";s:3:"mpe";s:5:"video";s:3:"msg";s:7:"message";s:3:"odb";s:8:"database";s:3:"odc";s:3:"log";s:3:"odf";s:8:"kformula";s:3:"odg";s:2:"3d";s:6:"onepkg";s:6:"knotes";s:6:"onetmp";s:6:"knotes";s:6:"onetoc";s:6:"knotes";s:7:"onetoc2";s:6:"knotes";s:3:"otf";s:4:"font";s:3:"pdf";s:3:"pdf";s:3:"pic";s:5:"image";s:4:"pict";s:5:"image";s:3:"png";s:7:"default";s:3:"pot";s:11:"interactive";s:4:"potm";s:11:"interactive";s:4:"potx";s:11:"interactive";s:4:"ppam";s:11:"interactive";s:2:"ps";s:10:"postscript";s:3:"psd";s:5:"image";s:3:"pub";s:8:"document";s:2:"qt";s:9:"quicktime";s:2:"ra";s:5:"audio";s:3:"rgb";s:5:"image";s:3:"rtx";s:4:"text";s:3:"snd";s:5:"audio";s:3:"sql";s:8:"database";s:3:"svg";s:9:"vectorgfx";s:3:"tif";s:7:"default";s:4:"tiff";s:7:"default";s:3:"trm";s:11:"interactive";s:3:"ttf";s:13:"font_truetype";s:3:"w6w";s:8:"document";s:3:"wax";s:5:"audio";s:4:"webm";s:5:"video";s:2:"wm";s:5:"video";s:3:"wmf";s:9:"vectorgfx";s:3:"wmx";s:5:"video";s:4:"woff";s:4:"font";s:4:"word";s:8:"document";s:3:"wri";s:8:"document";s:3:"xla";s:11:"spreadsheet";s:4:"xlam";s:11:"spreadsheet";s:3:"xlc";s:11:"spreadsheet";s:3:"xlm";s:11:"spreadsheet";s:3:"xlt";s:11:"spreadsheet";s:4:"xltm";s:11:"spreadsheet";s:4:"xltx";s:11:"spreadsheet";s:3:"xlw";s:11:"spreadsheet";s:3:"xml";s:4:"code";s:3:"xsl";s:5:"style";s:4:"xslt";s:4:"code";}}s:16:"enable_mla_icons";s:9:"unchecked";}

    Thread Starter fireemerald

    (@fireemerald)

    I took a closer look at the code. There are two different kinds of views, the overview (as month, list or day) and a single event.

    For the overviews (month, list or day) i found a filter which transformed the title of the breadcrumb into “false”. So adding the following filter to your functions.php file restores the correct label name:

    // Custom filter to retrieve the correct name of the events calendar month view
    function tribe_post_type_archive_title( $object_labels_name, $object_name ) {
    
        // Set the title to the correct post type name
        if ( is_post_type_archive('tribe_events' )) {
            $post_type_obj = get_post_type_object( $object_name );
            return $post_type_obj->labels->name;
        }
        return $object_labels_name;
    }
    // Priority must be greater 10 (default)
    add_filter( 'post_type_archive_title', 'tribe_post_type_archive_title', 20, 2 );

    Now i will take a look at the single events…

    Thread Starter fireemerald

    (@fireemerald)

    Breadcrumb NavXT generates an empty trail if you have disabled the display of the Home/Blog/Mainsite breadcrumbs and you visit the Mainsite. Result: "<!-- Breadcrumb NavXT 5.7.1 -->\n" – without any extra code.

    • This reply was modified 7 years, 6 months ago by fireemerald.
    Thread Starter fireemerald

    (@fireemerald)

    Would be good if you could take a look what’s the main reason for this issue is and solve it by default… i posted you the debug screenshot what comes back from get_post();. The plugin is free for everyone in the basic version which is used.

    • This reply was modified 7 years, 6 months ago by fireemerald.
    • This reply was modified 7 years, 6 months ago by fireemerald.
    • This reply was modified 7 years, 6 months ago by fireemerald.
Viewing 15 replies - 1 through 15 (of 26 total)