Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
[ESPRESSO_MY_EVENTS] breaking out of other shortcodes | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium [ESPRESSO_MY_EVENTS] breaking out of other shortcodes

[ESPRESSO_MY_EVENTS] breaking out of other shortcodes

Posted: December 23, 2013 at 9:01 am

Viewing 5 reply threads


Maltesen

December 23, 2013 at 9:01 am

Hi,
How do I prevent this shortcode of breaking out of another shortcode (tabs).?
I can contain the [ESPRESSO_EDIT_PROFILE] within the shortcode tabs. But when i enter [ESPRESSO_MY_EVENTS] it breaks out and always appear in the top of the chosen frontend page.


Anonymous

December 23, 2013 at 9:45 am

Hi there,

Can you provide a link or screenshot of an example please?


Maltesen

December 23, 2013 at 10:12 am

Yes here it is:


Maltesen

December 23, 2013 at 10:13 am

Or here Maybe?


Josh

December 23, 2013 at 2:02 pm

It may help to do open up the Members add-on’s my_events_page.php and change the event_espresso_my_events_fview function to read as:

function event_espresso_my_events_fview(){
	global $this_is_a_reg_page;
	$this_is_a_reg_page = TRUE;
	
	ob_start();
	event_espresso_my_events();
	$buffer = ob_get_contents();
	ob_end_clean();
	
	wp_enqueue_style('my_events_table', EVNT_MBR_PLUGINFULLURL . 'styles/my_events_table.css'); //My events table css
	wp_enqueue_script('dataTables', EVENT_ESPRESSO_PLUGINFULLURL . 'scripts/jquery.dataTables.min.js', array('jquery')); //Events core table script
	wp_enqueue_script('dataTablesColVis', EVENT_ESPRESSO_PLUGINFULLURL . 'scripts/jquery.ColVis.min.js', array('jquery')); //Events core table column hide/show script
	wp_register_script('event_espresso_js', (EVENT_ESPRESSO_PLUGINFULLURL . "scripts/event_espresso.js"), array('jquery'), EVENT_ESPRESSO_VERSION, TRUE);
	wp_enqueue_script('event_espresso_js');
	return $buffer;
}
add_shortcode('ESPRESSO_MY_EVENTS', 'event_espresso_my_events_fview');


Maltesen

December 23, 2013 at 11:53 pm

This absolutely fixed it. Thank you very much!
And Merry Christmas :-)

Viewing 5 reply threads

The support post ‘[ESPRESSO_MY_EVENTS] breaking out of other shortcodes’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server