Patrice de Saint Steban
Forum Replies Created
-
Hello,
I found the problem :
in wp-content/plugins/media-library-organizer/addons/tree-view/assets/js/media.js$( '.wrap' ).wrap( '<div class="media-library-organizer-tree-view"></div>' );
The extension add in the DOM a div with a “wrap” class, and your tree view is wrap to div and not only the media view.
The wrap class is too generics for use it.
If I change the selector to :has(.wp-heading-inline) it’s works !$( '.wrap:has(.wp-heading-inline)' ).wrap( '<div class="media-library-organizer-tree-view"></div>' );Hello,
I found the plugin who cause the issue, it’s WooCommerce Booster https://ww.wp.xz.cn/plugins/woocommerce-jetpack/
When it’s activated, there are the bug.
I reproduce it in the playground with only plugins :
– Booster for WooCommerce
– Media Library Organizer
– WooCommerceHello,
I use Google Chrome on a Mac, or on a window. I disallow the pub blocker.
I’m having no sidebar displayed, but on the DOM, I found two div with id=”media-library-organizer-tree-view” that containing the sidebar content.
I try with Firefox on my Mac :The first div displays the sidebar above the grid, while the second div is not displayed.
In the screenshot, I removed thedisplay:nonestatements from the CSS, and this displays the sidebar (on the chrome or on the firefox).
There are no console error.
I will try by disabled some extensions.Hi @kushnamdev ,
I add a new message on the support forum to allow add image :
https://ww.wp.xz.cn/support/topic/new-version-sidebar-display-error/The sidebar isn’t displayed, but for other contributor, the sidebar is upper the view panel.
Forum: Plugins
In reply to: [Exclusive Addons for Elementor] link anything not workingHello,
Thanks for the correction, it’s works now in my website.
RegardsHello,
I’m using the Exclusive Addons Elementor version 2.6.9.5, and the link anything not working.
When I debug the javascript code for doing the link :$('body').on('click.onWrapperLink', '[data-exad-element-link]', function(e) { var $wrapper = $(this), data = $wrapper.data('exad-element-link'), id = $wrapper.data('id'), anchor = document.createElement('a'), anchorReal, timeout; if ('undefined' === typeof data.url) { return false } let url = encodeURIComponent(data.url) , validUrl = eae_isValidHttpUrl(url); if (validUrl.badInput === false && validUrl.customError === false && validUrl.patternMismatch === false && validUrl.rangeOverflow === false && validUrl.rangeUnderflow === false && validUrl.stepMismatch === false && validUrl.tooLong === false && validUrl.tooShort === false && validUrl.typeMismatch === true && validUrl.valid === false && validUrl.valueMissing === false) { url = document.location.href.replace('#', '') + url; validUrl = eae_isValidHttpUrl(url) } if (validUrl.valid === false) { e.preventDefault(); e.stopPropagation(); return false } url = eae_decodeURI(url);The
data.urlhas the url in the form of https://site.com/path
TheencodeURIComponent(data.url)become “https%3A%2F%2Fsite.com%2Fpath”
the codevalidUrl = eae_isValidHttpUrl(url)not valid to the encoded URI and the condition will concatenate the url encoded to the current url.url = document.location.href.replace('#', '') + url;
the url will be after the code : https://site.com/https%3A%2F%2Fsite.com%2Fpathyou may use the
encodeURIfunction instead ofencodeURIComponentI have this problem with all admin action that create a new customer.
Hello @bizx,
I just add this code in my function.php on my theme for add permissions for an other role :add_filter( 'kc_us_user_permissions', 'my_url_shortify_permissions', 10, 2); function my_url_shortify_permissions ( $permisions, $user ) { if (in_array('editor', $user->roles)) return array('create_links', 'manage_links'); return $permissions; }