Hi Julia,
I will be able to assist you on this and the deactivate account test by Tuesday.Thank you
BrajeshHi Julia,
Thank you for the patience.The problem lies with WC Frontend Manager. It loads styles conditionally but fails on profile pages.
The solution is to force it to load css/** * Enable wcfm styles on profile page. */ function buddydev_enable_wcfm_styles() { global $WCFM; if ( ! $WCFM || ! isset( $WCFM->library ) || ! is_callable( array( $WCFM->library, 'load_styles' ) ) ) { return; } // change component with the slug. $component = 'tab-slug'; // please change it with your tab slug. if ( bp_is_current_component( $component ) ) { //load $WCFM->library->load_styles( 'wcfm-dashboard' ); } } add_action( 'bp_enqueue_scripts', 'buddydev_enable_wcfm_styles' );
Please change the
$component = 'tab-slug'; // please change it with your tab slug.
With the actual slug and you will get the dashboard like this.
https://i.imgur.com/z7oDigh.png
Hope that helps.
Regards
Brajesh1) How about email issue of deactive account plugin?
2) The code given style is not complete. You see “Home” tab is complete blank.
Defaul domain.com/wcfm has style
http://www.mediafire.com/view/6uvrtpqbsncaodc/blank_style.PNGP/S: Clear cache, borrow, database already.
3) When i click on another (tab & sub-tab)=sub-slug, it linked my back to defaul domain.com/wcfm/sub-slug
Hi Julia,
1. We will report about the conflict today.2.I only tested for basic styles. You will need to contact the plugin author for nore. The problem lies with the WC frontend manager and not us. We allow you to use a shortcode. Any malfunction of the shortcode should be reported to the plugin developer. They can provide compatibility.
3. Please contact the plugin author. These are controlled by the WC Frontend Manager.
Regards
Brajesh1. Have replied to the other thread about conflict.
Regards
BrajeshHi. As the code bellow. Here is what developer say:
This code is right, but it only includes stylesheets. You have to do same for JavaScript, WCfM dashboard contents loads through Ajax, so you are getting things blank.
Please provide me JavaSript
Thanks
Hi Julia,
I am sorry but we are unable to assist you here.The javascript etc is coming from the WCFM plugin . That plugin will not work with BuddyPress profile pages whether you use the Tabs creator or not. It has nothing to do with the Tabs pro.
Like I said earlier, WCFM needs to load their assets/js on the page where you are using the shortcode but they are not doing it.
Please ask the developer of the plugin to help you load javascript and anything else. It’s not our plugin and I am not sure how many other issues it might have with the BuddyPress profile page.
You will need to get the assistance from the WCFM developer. We won’t be able to do much due to the lack of familiarity with their plugin.
They should be able to extend my above code to load the js file(The code shows how to load asset on the profile tab).
Regards
Brajesh
You must be logged in to reply to this topic.