Events Made Easy Forums Bug fixed or feature request implemented just upgaded from EM2.2 — broken admin screen – garbage at the top

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42426
    Anonymous
    Inactive

    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?

    ?? :-/

    #46314
    Franky
    Keymaster

    EM2.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

    #46315
    Anonymous
    Inactive

    just 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.

    #46316
    Anonymous
    Inactive

    update: 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('');

    });

    #46317
    Franky
    Keymaster

    Thanks for confirming it works, it will be in the next trunk version!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top