- This topic has 1 reply, 2 voices, and was last updated 11 months, 3 weeks ago by .
Hi Anh. I have an issue I think is related to changes in enqueuing assets:
I have a MB profile form on a Buddypress profile tab (we’re gradually migrating away from BP).
It has a couple text fields, and a geolocation field.
- geolocation assets do not load on the profile tab with MB profile shortcode
- on form submission, it just scrolls to top of page – no submission, no errors
It worked before and I didn’t change anything. The same shortcode also works on a standard Page [non-BP], and the geo assets are loaded.
Perhaps this is because you are not expecting to load assets on BP component pages?
If this is nothing to be “fixed” can you let me know how to manually enqueue the assets? Perhaps I need to do that before calling this:
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'buddypress/members/single/plugins' ) );
I hope this is clear. Thank you!!
- You must be logged in to reply to this topic.