Bug report - Helper item

edited September 2017 in BeBuilder
How to reproduce the bug:

1- Add any text in Helper item.
2- Save page.
3- Check text in Helper item and close it, everything is fine until now.
4- Reopen Helper item, text is partially missing.

Same happens on two different servers (localhost and online), clean install, no plugins.

Here is a short (unlisted) video so you can check it better:


Comments

  • Hi,

    please go to your FTP, create php file with phpinfo() function inside and send us link to that file privately thru the contact form which is on the right side at http://themeforest.net/user/muffingroup#contact so we can have a look on your server settings. The problem is probably related to limits but to be sure which one is the reason, we need that link. For more details about file creation, please visit https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page.

    Notice!
    1. If you are chatting with support via email please do not post here.
    2. Attach your license key and the wordpress admin login credentials.

    Thanks

  • Hello and thanks for your support offer, however I just wanted to report the bug so that you can fix it in the next release for everyone else. 

    It is not a php reletad issue. Bug occurs browser side when closing the helper item popup in muffin builder (you can see it for a frame in the video at 0:27).

    Text is always truncated after 16 words. I found it could have something to do with following function in \functions\builder\js\script.js line 814

    ------------------------------------------------------------
    // Excerpt | update

    var excerpt = popup.find( 'textarea.mfn-item-excerpt' ).first().val();
    if( excerpt ){

    // strip_tags
    var tmp = document.createElement( 'DIV' );
    tmp.innerHTML = excerpt;
    excerpt = tmp.textContent || tmp.innerText || "";

    // strip_shortcodes
    excerpt = excerpt.replace(/\[.*?\]/g, '' ); // do not put space before regex

    // 16 words
    excerpt = excerpt.split(" ").splice( 0, 16 ).join(" ");

    popup.closest( '.mfn-element' ).find( '.mfn-item-excerpt' ).first().html( excerpt );
    }
    ------------------------------------------------------------
  • edited October 2017
    But this is not a problem, the excerpt is supposed to work like this. You can extend the number of words in theme options>blog,portfolio&shop>blog. The excerpt length field.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.