kshaner
Forum Replies Created
-
For reference, here is the code I’ve developed by bypass the restriction until a plugin update comes out:
add_action( 'current_screen', function( $screen ) { if ( defined( 'LEADIN_BASE_PATH' ) && ! empty( constant( 'LEADIN_BASE_PATH' ) ) && 'post' === $screen->base ) { // add iframe container div on other post types if ( ! in_array( $screen->id, [ 'post', 'page' ], true ) ) { add_action( 'admin_notices', function() { echo '<div id="leadin-iframe-container" style="display: none"></div>'; } ); } // overwrite wp_localize_script for leadin-js with correct iframe url add_action( 'admin_enqueue_scripts', function() { $config = \Leadin\admin\AdminConstants::get_leadin_config(); $config['iframeUrl'] = \Leadin\admin\Links::get_background_iframe_src(); wp_localize_script( 'leadin-js', 'leadinConfig', $config ); }, 9999 ); } } );Hi Mario,
Thanks for this. Unfortunately the plugin is behind the Dropbox sso. Is there another way I can access the plugin?
Also, do you know the eta of when the update will be released?
Kurtis
Hi David,
I see with the latest updates you can now use the hubspot form block in a page/post post type template, thanks for that!
However, We’re still unable to use the hubspot form block with a custom post type. That restriction in class-leadinadmin.php still existing limiting the iframe to only the page and post post type. We’ll have to abandon this plugin if this is not looked into. The iframe creation has been moved to javascript but the php restriction to init the javascript is still in place.
Please let me know if I can help.
KurtisThanks for your response David. I’d be happy to test any pre-release version if your team needs verification.
Forum: Plugins
In reply to: [Jarvis] Feature RequestsHi Sridar,
All valid requests!
1. We will consider this! We develop on Github so it’s more likely that we will see updates over there.
2. This would be unlikely as it would override default browser behavior of switching tabs.
3. I would consider this a bug, as a workaround for now you can middle click or right click and select a result to open in a new tab.
4. This is on the roadmap but will require some extensive refactoring!
Kurtis
Forum: Plugins
In reply to: [Jarvis] Not working on IOS safariHi Opicron,
Sorry for the delay, we will look into any iOS issues and get back to you.
Kurtis
Forum: Plugins
In reply to: [Jarvis] Warning after updating to v 1.0.0Hi Jackie,
Please update to 1.0.4 where a class autoloading bug has been fixed. Let me know if it fixes it for you!
Kurtis
Forum: Plugins
In reply to: [Jarvis] Warning after updating to v 1.0.1Hi all,
Sorry for the long delay. This has been fixed in the latest 1.0.4 version of the code. The issue had to do with the way the autoloader was converting class names to file names and when the webroot had an _ character in it. E.g. example.com/public_html would fail where example.com/www would work.
Kurtis
Forum: Plugins
In reply to: [Jarvis] Warning after updating to v 1.0.1To everyone who is having this issue. Could you please send me a copy of your php setup information. The output of a phpinfo(); call would be enough and I’ll try and replicate the settings to see what’s going on. Please send it to kurtis [@] webdevelopmentgroup.com
Forum: Plugins
In reply to: [Jarvis] Warning after updating to v 1.0.1Hi Omar,
Could you update to 1.0.3? If that does not work please try uninstalling and re-installing.
If that still does not fix the issue please provide the versions of WordPress and php that you are using and I will ensure that we get it working for you.
Kurtis
Forum: Plugins
In reply to: [Jarvis] Warning after updating to v 1.0.0Hi Jackie,
Could you update to the latest version (1.0.3) and let me know if the issue still exists? There was a file missed in the initial commit that was quickly fixed.
If that does not resolve the issue for you, please provide some deubugging info, including wordpress and php versions.
Kurtis
Forum: Plugins
In reply to: [Enhanced Media Library] Conflict with Shortcode UI PluginThanks Nadia, this seems to do the trick. Ship it! 🙂
Forum: Plugins
In reply to: [Enhanced Media Library] Conflict with Shortcode UI PluginHi,
Unfortunately the bug persists. Here’s a screenshot of the call stack for reference: https://dl.dropboxusercontent.com/u/8759774/Screen%20Shot%202017-01-20%20at%2012.20.08.png .
It occurs when clicking the Add Post Element button or when attempting to edit a current shortcode. If I edit the eml-media-views file and console the arguments, it appears that console.fixLayout is undefined at line 1079 which then is passed as the function argument to underscore bind.
We also have ACF installed. If I deactivate ACF, the error is not thrown.
Kurtis
Forum: Plugins
In reply to: [Advanced Search by My Solr Server] Replacing default search?I had the same issue and ended up using this action:
add_action('pre_get_posts', 'mss_remove_wp_search'); function mss_remove_wp_search($query) { if ($query->is_search) { $query->set('s', ''); $query->is_search = false; } }Forum: Plugins
In reply to: [Co-Authors Plus] Co Authors Plus and Custom Post Type CountsHi Daniel,
Thanks for the reply. My use case for this is being able to see all the authors posts count and link to the manage authors page like it works now but modify the manage posts query when guest_author query var is applied and use pre_get_posts to add the custom post types there as well. Ideally I’d also add the post_type as a column to the manage posts table also.
The array of post counts could be good if there is a filter to apply the count to the table.
Ideally, I’d like to set a filter in the theme functions file to define which post_types CAP should work with.
Seeing though in the wp source that it defaults to only one post type at a time, it would have to be a custom (potentially heavy) count function instead of using count_many_users_posts().