Events Made Easy › Forums › Bug fixed or feature request implemented › just upgaded from EM2.2 — broken admin screen – garbage at the top
- This topic has 4 replies, 2 voices, and was last updated 13 years, 10 months ago by Franky.
-
AuthorPosts
-
Sun 16 Jan 2011 at 00:35 #42426AnonymousInactive
looks like it’s spitting my Default Single Events Format, and some of the jQuery that’s in eme_events.php, out at the top, before the wp-admin page content renders.
have you seen this before? better yet, do you know how to make it stop?
?? :-/
Sun 16 Jan 2011 at 01:29 #46314FrankyKeymasterEM2.2? Which version of wordpress are you using?
Also, I would need to see what you mean, either via url or admin access, what you describe here is not enough info
Sun 16 Jan 2011 at 02:43 #46315AnonymousInactivejust upgraded wp 3.0.3 -> 3.0.4 before upgrading from EM -> EME.
I know my description wasn’t very good. It’s hard to describe. I just thought you might know what I was talking about. I’ll email you a pic of the crazy stuff.
Thanks.
Mon 17 Jan 2011 at 09:29 #46316AnonymousInactiveupdate: Franky’s brilliance shows my busy “default single event format” content to be the problem! he says
it seems to have to do with the content
of the “default single event format”.
I think I have a workaround for it. Could you try this:
in eme_events.php change the code at lines 2208-2255
to the following (it’s the code for javascript blur/focus)
$j_eme_event('textarea#event_page_title_format').focus(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_event_page_title_format' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == '')
$j_eme_event(this).val(tmp_value);
});
$j_eme_event('textarea#event_page_title_format').blur(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_event_page_title_format' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == tmp_value)
$j_eme_event(this).val('');
});
$j_eme_event('textarea#event_single_event_format').focus(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_single_event_format' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == '')
$j_eme_event(this).val(tmp_value);
});
$j_eme_event('textarea#event_single_event_format').blur(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_single_event_format' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == tmp_value)
$j_eme_event(this).val('');
});
$j_eme_event('textarea#event_contactperson_email_body').focus(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_contactperson_email_body' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == '')
$j_eme_event(this).val(tmp_value);
})
$j_eme_event('textarea#event_contactperson_email_body').blur(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_contactperson_email_body' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == tmp_value)
$j_eme_event(this).val('');
});
$j_eme_event('textarea#event_respondent_email_body').focus(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_respondent_email_body' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == '')
$j_eme_event(this).val(tmp_value);
});
$j_eme_event('textarea#event_respondent_email_body').blur(function(){
var tmp_value='<?php echo rawurlencode(get_option('eme_respondent_email_body' )); ?>';
tmp_value=unescape(tmp_value).replace(/rn/g,"n");
if($j_eme_event(this).val() == tmp_value)
$j_eme_event(this).val('');
});
Mon 17 Jan 2011 at 09:38 #46317FrankyKeymasterThanks for confirming it works, it will be in the next trunk version!
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.